Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.115/2.115, allocations: 284.8 MB / 292.1 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001624/0.001623, allocations: 181.3 kB / 360.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.1 MB / 0.6187 GB, free: 13.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 94.53 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2387/0.24, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5454/0.7854, allocations: 115.2 MB / 0.9628 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2517/1.037, allocations: 165.9 MB / 1.125 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/1.038, allocations: 92.59 kB / 1.125 GB, free: 6.793 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.2432/1.281, allocations: 61.35 MB / 1.185 GB, free: 9.094 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/1.281, allocations: 12.5 kB / 1.185 GB, free: 9.082 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005216/1.286, allocations: 465.3 kB / 1.185 GB, free: 8.625 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003665/1.29, allocations: 1.141 MB / 1.186 GB, free: 7.441 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-05/1.29, allocations: 48 kB / 1.186 GB, free: 7.395 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005705/1.29, allocations: 84 kB / 1.186 GB, free: 7.312 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006561/1.297, allocations: 2.033 MB / 1.188 GB, free: 5.277 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007939/1.305, allocations: 2.613 MB / 1.191 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.488e-05/1.305, allocations: 2.125 kB / 1.191 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002555/1.305, allocations: 4 kB / 1.191 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000756/1.306, allocations: 158.9 kB / 1.191 GB, free: 2.379 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0322/1.338, allocations: 13.96 MB / 1.205 GB, free: 3.367 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004236/1.343, allocations: 1.278 MB / 1.206 GB, free: 2.059 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002784/1.345, allocations: 1.105 MB / 1.207 GB, free: 0.9531 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.37e-05/1.346, allocations: 16.58 kB / 1.207 GB, free: 0.9375 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/1.346, allocations: 47.2 kB / 1.207 GB, free: 0.8789 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=82): time 4.468e-06/1.346, allocations: 0 / 1.207 GB, free: 0.8789 MB / 0.8073 GB Notification: Performance of matching and sorting (n=139): time 0.05114/1.397, allocations: 8.976 MB / 1.216 GB, free: 7.895 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/1.397, allocations: 64.72 kB / 1.216 GB, free: 7.82 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/1.399, allocations: 0.9095 MB / 1.217 GB, free: 6.902 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004258/1.4, allocations: 29.7 kB / 1.217 GB, free: 6.867 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005373/1.4, allocations: 0.6307 MB / 1.218 GB, free: 6.223 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007486/1.401, allocations: 469 kB / 1.218 GB, free: 5.758 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/1.401, allocations: 0 / 1.218 GB, free: 5.758 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003666/1.402, allocations: 418.6 kB / 1.218 GB, free: 5.34 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00392/1.406, allocations: 1.491 MB / 1.22 GB, free: 3.848 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004317/1.41, allocations: 1.785 MB / 1.222 GB, free: 1.953 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008117/1.418, allocations: 2.11 MB / 1.224 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.578e-05/1.418, allocations: 0 / 1.224 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.0234/1.442, allocations: 5.785 MB / 1.229 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.442, allocations: 4 kB / 1.229 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/1.442, allocations: 8 kB / 1.229 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01613/1.458, allocations: 2.74 MB / 1.232 GB, free: 7.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/1.46, allocations: 205 kB / 1.232 GB, free: 7.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04112/1.501, allocations: 14.41 MB / 1.246 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002643/1.503, allocations: 59.95 kB / 1.246 GB, free: 8.324 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005925/1.504, allocations: 163.9 kB / 1.246 GB, free: 8.164 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0005865/1.505, allocations: 136.5 kB / 1.247 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005144/1.505, allocations: 110.7 kB / 1.247 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02042/1.526, allocations: 5.248 MB / 1.252 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-05/1.526, allocations: 16 kB / 1.252 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.318e-05/1.526, allocations: 8.5 kB / 1.252 GB, free: 2.629 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.089e-05/1.526, allocations: 15.91 kB / 1.252 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4148/1.941, allocations: 8.359 MB / 1.26 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/1.941, allocations: 11.41 kB / 1.26 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009371/1.942, allocations: 112.6 kB / 1.26 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01402/1.956, allocations: 2.55 MB / 1.263 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000305/1.956, allocations: 43.19 kB / 1.263 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03114/1.987, allocations: 12.39 MB / 1.275 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/1.987, allocations: 4.188 kB / 1.275 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01698/2.004, allocations: 5.1 MB / 1.28 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01709/2.021, allocations: 5.51 MB / 1.285 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001685/2.023, allocations: 0.5983 MB / 1.286 GB, free: 148.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005114/2.024, allocations: 3.469 kB / 1.286 GB, free: 148.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/2.025, allocations: 42.33 kB / 1.286 GB, free: 148.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003823/2.026, allocations: 106.7 kB / 1.286 GB, free: 148.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003175/2.026, allocations: 115.3 kB / 1.286 GB, free: 148.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001229/2.027, allocations: 0.6837 MB / 1.287 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003295/2.031, allocations: 0.5069 MB / 1.287 GB, free: 148.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003866/2.031, allocations: 120.1 kB / 1.287 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01088/2.042, allocations: 3.943 MB / 1.291 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/2.042, allocations: 3.938 kB / 1.291 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.008356/2.05, allocations: 2.272 MB / 1.293 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/2.052, allocations: 147.8 kB / 1.293 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009561/2.062, allocations: 3.346 MB / 1.297 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002639/2.065, allocations: 1.749 MB / 1.298 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.084e-06/2.065, allocations: 0 / 1.298 GB, free: 146.5 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)