Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.117/2.117, allocations: 284.8 MB / 292.1 MB, free: 10.71 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.001585/0.001585, allocations: 189.2 kB / 360.3 MB, free: 7.48 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.659/1.659, allocations: 205.1 MB / 0.6187 GB, free: 12.45 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.001205/0.001205, allocations: 96.66 kB / 0.7317 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2486/0.2498, allocations: 121.4 MB / 0.8502 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5665/0.8163, allocations: 115.2 MB / 0.9628 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3063/1.123, allocations: 208.6 MB / 1.166 GB, free: 12 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003736/1.123, allocations: 96.5 kB / 1.167 GB, free: 11.9 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.3467/1.47, allocations: 86.64 MB / 1.251 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/1.47, allocations: 8 kB / 1.251 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02178/1.492, allocations: 1.606 MB / 1.253 GB, free: 3.082 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008693/1.5, allocations: 2.102 MB / 1.255 GB, free: 0.9219 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/1.501, allocations: 36 kB / 1.255 GB, free: 0.8867 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004782/1.501, allocations: 71.91 kB / 1.255 GB, free: 0.8164 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4035/1.905, allocations: 1.71 MB / 1.257 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004464/1.909, allocations: 2.092 MB / 1.259 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.618e-05/1.909, allocations: 10.34 kB / 1.259 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002718/1.909, allocations: 7.312 kB / 1.259 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/1.91, allocations: 93.02 kB / 1.259 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02284/1.932, allocations: 10.34 MB / 1.269 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003824/1.936, allocations: 1.441 MB / 1.27 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/1.938, allocations: 0.8987 MB / 1.271 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.202e-05/1.938, allocations: 14.42 kB / 1.271 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/1.938, allocations: 43.34 kB / 1.271 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 3.546e-06/1.938, allocations: 0 / 1.271 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=153): time 0.03075/1.969, allocations: 6.986 MB / 1.278 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.148e-05/1.969, allocations: 229 kB / 1.278 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/1.971, allocations: 0.8116 MB / 1.279 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004025/1.971, allocations: 25.7 kB / 1.279 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/1.972, allocations: 0.5287 MB / 1.28 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006476/1.972, allocations: 0.4892 MB / 1.28 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/1.973, allocations: 0 / 1.28 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.973, allocations: 376.6 kB / 1.28 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002682/1.975, allocations: 1.131 MB / 1.281 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002927/1.978, allocations: 1.41 MB / 1.283 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003386/1.982, allocations: 1.303 MB / 1.284 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/1.982, allocations: 3.969 kB / 1.284 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01918/2.001, allocations: 4.513 MB / 1.289 GB, free: 173.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/2.001, allocations: 8.156 kB / 1.289 GB, free: 173.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/2.001, allocations: 4.531 kB / 1.289 GB, free: 173.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01589/2.017, allocations: 2.085 MB / 1.291 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003863/2.021, allocations: 345.1 kB / 1.291 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04158/2.063, allocations: 20.89 MB / 1.311 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005041/2.068, allocations: 211.5 kB / 1.312 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004151/2.068, allocations: 66.66 kB / 1.312 GB, free: 163.4 MB / 0.8542 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005899/2.069, allocations: 130.5 kB / 1.312 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007626/2.069, allocations: 167.8 kB / 1.312 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01969/2.089, allocations: 4.635 MB / 1.316 GB, free: 163 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3e-05/2.089, allocations: 19.47 kB / 1.316 GB, free: 163 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.74e-05/2.089, allocations: 19.47 kB / 1.316 GB, free: 163 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.519e-05/2.089, allocations: 14.61 kB / 1.316 GB, free: 163 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02619/2.116, allocations: 6.635 MB / 1.323 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.48e-05/2.116, allocations: 6.969 kB / 1.323 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003508/2.119, allocations: 280.8 kB / 1.323 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01499/2.134, allocations: 1.932 MB / 1.325 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003843/2.135, allocations: 22.17 kB / 1.325 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04028/2.175, allocations: 20 MB / 1.345 GB, free: 152.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/2.175, allocations: 4.5 kB / 1.345 GB, free: 152.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01753/2.193, allocations: 4.355 MB / 1.349 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01752/2.21, allocations: 4.753 MB / 1.354 GB, free: 150.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/2.212, allocations: 0.4968 MB / 1.354 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005699/2.212, allocations: 9.938 kB / 1.354 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004446/2.217, allocations: 207.8 kB / 1.354 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000314/2.217, allocations: 82.53 kB / 1.354 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002553/2.217, allocations: 54 kB / 1.354 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001359/2.219, allocations: 0.6122 MB / 1.355 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004561/2.223, allocations: 0.5896 MB / 1.356 GB, free: 150.5 MB / 0.8542 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008312/2.224, allocations: 182.7 kB / 1.356 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01221/2.237, allocations: 4.041 MB / 1.36 GB, free: 148 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/2.237, allocations: 0.6562 kB / 1.36 GB, free: 148 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.008553/2.245, allocations: 2.643 MB / 1.362 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003409/2.249, allocations: 417 kB / 1.363 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/2.26, allocations: 3.244 MB / 1.366 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002305/2.263, allocations: 1.617 MB / 1.367 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.202e-06/2.263, allocations: 4 kB / 1.367 GB, free: 142.3 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)