Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.1.4-maint.8.1.x/package.mo): time 1.36/1.36, allocations: 289.8 MB / 297 MB, free: 6.676 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.0009302/0.0009301, allocations: 185.3 kB / 366.3 MB, free: 1.996 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.104/1.104, allocations: 205.2 MB / 0.6256 GB, free: 5.809 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.0008056/0.0008057, allocations: 95.12 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2042/0.205, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.6377, allocations: 116.3 MB / 0.9727 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2011/0.8389, allocations: 207.2 MB / 1.175 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.8392, allocations: 99.88 kB / 1.175 GB, free: 4.977 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.4858/1.325, allocations: 85.1 MB / 1.258 GB, free: 202.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/1.325, allocations: 7.844 kB / 1.258 GB, free: 202.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009692/1.335, allocations: 1.525 MB / 1.26 GB, free: 202.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002373/1.337, allocations: 1.229 MB / 1.261 GB, free: 201.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.651e-05/1.337, allocations: 41.97 kB / 1.261 GB, free: 201.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002616/1.338, allocations: 71.41 kB / 1.261 GB, free: 201.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003148/1.341, allocations: 1.761 MB / 1.263 GB, free: 201.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002727/1.343, allocations: 2.102 MB / 1.265 GB, free: 200 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.858e-05/1.343, allocations: 17.58 kB / 1.265 GB, free: 200 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/1.344, allocations: 9.812 kB / 1.265 GB, free: 200 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-05/1.344, allocations: 84.22 kB / 1.265 GB, free: 200 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01285/1.357, allocations: 10.33 MB / 1.275 GB, free: 193 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/1.359, allocations: 1.647 MB / 1.277 GB, free: 192.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009096/1.36, allocations: 0.9175 MB / 1.277 GB, free: 191.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.014e-05/1.36, allocations: 13.03 kB / 1.278 GB, free: 191.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/1.36, allocations: 52.84 kB / 1.278 GB, free: 191.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=89): time 3.086e-06/1.36, allocations: 0 / 1.278 GB, free: 191.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=131): time 0.012/1.372, allocations: 5.8 MB / 1.283 GB, free: 189.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/1.372, allocations: 226.2 kB / 1.283 GB, free: 189.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008649/1.373, allocations: 0.7581 MB / 1.284 GB, free: 189.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/1.373, allocations: 25.7 kB / 1.284 GB, free: 189.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/1.373, allocations: 0.5288 MB / 1.285 GB, free: 188.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002841/1.373, allocations: 435.7 kB / 1.285 GB, free: 188.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/1.373, allocations: 0 / 1.285 GB, free: 188.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.236e-05/1.373, allocations: 355.2 kB / 1.285 GB, free: 188.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/1.375, allocations: 0.963 MB / 1.286 GB, free: 187.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/1.376, allocations: 1.228 MB / 1.288 GB, free: 187 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/1.377, allocations: 1.117 MB / 1.289 GB, free: 186.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/1.377, allocations: 0 / 1.289 GB, free: 186.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.007558/1.385, allocations: 3.676 MB / 1.292 GB, free: 185.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.385, allocations: 6.094 kB / 1.292 GB, free: 185.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.385, allocations: 5.656 kB / 1.292 GB, free: 185.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00652/1.391, allocations: 1.572 MB / 1.294 GB, free: 184.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/1.393, allocations: 366.4 kB / 1.294 GB, free: 184.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01878/1.412, allocations: 23.32 MB / 1.317 GB, free: 161 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/1.415, allocations: 203.7 kB / 1.317 GB, free: 160.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/1.415, allocations: 55.97 kB / 1.317 GB, free: 160.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002982/1.415, allocations: 135.4 kB / 1.317 GB, free: 160.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/1.415, allocations: 150.2 kB / 1.317 GB, free: 160.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007629/1.423, allocations: 3.793 MB / 1.321 GB, free: 156.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/1.423, allocations: 12 kB / 1.321 GB, free: 156.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/1.423, allocations: 15.98 kB / 1.321 GB, free: 156.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/1.423, allocations: 3.984 kB / 1.321 GB, free: 156.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/1.433, allocations: 6.03 MB / 1.327 GB, free: 150.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.433, allocations: 0 / 1.327 GB, free: 150.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001722/1.435, allocations: 307.9 kB / 1.327 GB, free: 150.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005762/1.441, allocations: 1.467 MB / 1.329 GB, free: 148.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/1.441, allocations: 27.95 kB / 1.329 GB, free: 148.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01726/1.458, allocations: 22.36 MB / 1.351 GB, free: 124.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.458, allocations: 7.906 kB / 1.351 GB, free: 124.8 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006925/1.465, allocations: 3.664 MB / 1.354 GB, free: 121 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006742/1.472, allocations: 4.072 MB / 1.358 GB, free: 116.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008387/1.473, allocations: 447.3 kB / 1.359 GB, free: 116.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004256/1.473, allocations: 11.92 kB / 1.359 GB, free: 116.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/1.475, allocations: 207.7 kB / 1.359 GB, free: 116.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/1.476, allocations: 72.81 kB / 1.359 GB, free: 116.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/1.476, allocations: 51.95 kB / 1.359 GB, free: 116.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0006768/1.476, allocations: 0.5723 MB / 1.36 GB, free: 115.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002508/1.479, allocations: 0.5117 MB / 1.36 GB, free: 115 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003395/1.479, allocations: 139 kB / 1.36 GB, free: 114.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005552/1.485, allocations: 4.053 MB / 1.364 GB, free: 110.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.485, allocations: 0 / 1.364 GB, free: 110.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004033/1.489, allocations: 2.846 MB / 1.367 GB, free: 107.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/1.491, allocations: 423.4 kB / 1.367 GB, free: 107.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006499/1.498, allocations: 2.924 MB / 1.37 GB, free: 104.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/1.499, allocations: 1.565 MB / 1.372 GB, free: 102.7 MB / 0.823 GB Notification: Performance of SimCode: time 6.72e-07/1.499, allocations: 0 / 1.372 GB, free: 102.7 MB / 0.823 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)