Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ACLine_R,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.09/2.09, allocations: 284.8 MB / 292.1 MB, free: 1.488 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001606/0.001605, allocations: 181 kB / 360.3 MB, free: 15.67 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.1 MB / 0.6187 GB, free: 6.672 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 97.28 kB / 0.7317 GB, free: 46.91 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 0.2425/0.2438, allocations: 121.4 MB / 0.8502 GB, free: 13.64 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5504/0.7942, allocations: 115.2 MB / 0.9628 GB, free: 86.48 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2386/1.033, allocations: 162.6 MB / 1.122 GB, free: 3.75 MB / 0.7217 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003521/1.033, allocations: 92.73 kB / 1.122 GB, free: 3.66 MB / 0.7217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.1433/1.177, allocations: 37.43 MB / 1.158 GB, free: 13.97 MB / 0.7686 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.177, allocations: 8.5 kB / 1.158 GB, free: 13.96 MB / 0.7686 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002694/1.179, allocations: 250.6 kB / 1.158 GB, free: 13.72 MB / 0.7686 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/1.181, allocations: 0.5432 MB / 1.159 GB, free: 13.13 MB / 0.7686 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.984e-05/1.181, allocations: 20 kB / 1.159 GB, free: 13.11 MB / 0.7686 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/1.181, allocations: 40 kB / 1.159 GB, free: 13.07 MB / 0.7686 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001886/1.183, allocations: 0.6208 MB / 1.16 GB, free: 12.45 MB / 0.7686 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002282/1.185, allocations: 1.041 MB / 1.161 GB, free: 11.27 MB / 0.7686 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/1.186, allocations: 3.938 kB / 1.161 GB, free: 11.26 MB / 0.7686 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/1.186, allocations: 8 kB / 1.161 GB, free: 11.25 MB / 0.7686 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-05/1.186, allocations: 57.22 kB / 1.161 GB, free: 11.2 MB / 0.7686 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008519/1.194, allocations: 5.79 MB / 1.166 GB, free: 4.992 MB / 0.7686 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/1.196, allocations: 0.5195 MB / 1.167 GB, free: 4.457 MB / 0.7686 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007466/1.197, allocations: 322.1 kB / 1.167 GB, free: 4.141 MB / 0.7686 GB Notification: Performance of preOpt evalFunc (simulation): time 4.625e-05/1.197, allocations: 4.438 kB / 1.167 GB, free: 4.137 MB / 0.7686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/1.197, allocations: 44.38 kB / 1.167 GB, free: 4.086 MB / 0.7686 GB Notification: Performance of pre-optimization done (n=47): time 3.297e-06/1.197, allocations: 0 / 1.167 GB, free: 4.086 MB / 0.7686 GB Notification: Performance of matching and sorting (n=48): time 0.00369/1.2, allocations: 1.193 MB / 1.168 GB, free: 2.871 MB / 0.7686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/1.201, allocations: 55.84 kB / 1.168 GB, free: 2.805 MB / 0.7686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000712/1.201, allocations: 402.2 kB / 1.169 GB, free: 2.406 MB / 0.7686 GB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/1.201, allocations: 25.7 kB / 1.169 GB, free: 2.375 MB / 0.7686 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/1.202, allocations: 350.8 kB / 1.169 GB, free: 2.027 MB / 0.7686 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/1.202, allocations: 161.6 kB / 1.169 GB, free: 1.867 MB / 0.7686 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/1.202, allocations: 7.938 kB / 1.169 GB, free: 1.859 MB / 0.7686 GB Notification: Performance of setup shared object (initialization): time 0.0002386/1.202, allocations: 374.7 kB / 1.17 GB, free: 1.484 MB / 0.7686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000692/1.203, allocations: 257.2 kB / 1.17 GB, free: 1.234 MB / 0.7686 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008545/1.204, allocations: 445.5 kB / 1.17 GB, free: 0.7227 MB / 0.7686 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008476/1.205, allocations: 329.3 kB / 1.171 GB, free: 408 kB / 0.7686 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/1.205, allocations: 4 kB / 1.171 GB, free: 404 kB / 0.7686 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003045/1.208, allocations: 0.9868 MB / 1.172 GB, free: 15.39 MB / 0.7842 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/1.208, allocations: 9.969 kB / 1.172 GB, free: 15.38 MB / 0.7842 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/1.208, allocations: 8 kB / 1.172 GB, free: 15.37 MB / 0.7842 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/1.209, allocations: 267.7 kB / 1.172 GB, free: 15.1 MB / 0.7842 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009963/1.21, allocations: 107.8 kB / 1.172 GB, free: 14.99 MB / 0.7842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009408/1.22, allocations: 6.217 MB / 1.178 GB, free: 8.316 MB / 0.7842 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/1.221, allocations: 15.98 kB / 1.178 GB, free: 8.301 MB / 0.7842 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/1.221, allocations: 24 kB / 1.178 GB, free: 8.277 MB / 0.7842 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 (63): * Single equations (assignments): 59 * 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: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002146/1.221, allocations: 128.8 kB / 1.178 GB, free: 8.145 MB / 0.7842 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/1.221, allocations: 68.38 kB / 1.178 GB, free: 8.078 MB / 0.7842 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002714/1.224, allocations: 0.8519 MB / 1.179 GB, free: 7.199 MB / 0.7842 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/1.224, allocations: 4 kB / 1.179 GB, free: 7.195 MB / 0.7842 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/1.224, allocations: 4 kB / 1.179 GB, free: 7.191 MB / 0.7842 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/1.224, allocations: 3.984 kB / 1.179 GB, free: 7.188 MB / 0.7842 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004279/1.228, allocations: 1.599 MB / 1.181 GB, free: 5.516 MB / 0.7842 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/1.228, allocations: 0 / 1.181 GB, free: 5.516 MB / 0.7842 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005278/1.229, allocations: 51.91 kB / 1.181 GB, free: 5.465 MB / 0.7842 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/1.23, allocations: 276.3 kB / 1.181 GB, free: 5.184 MB / 0.7842 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/1.23, allocations: 7.938 kB / 1.181 GB, free: 5.176 MB / 0.7842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008986/1.239, allocations: 6.171 MB / 1.187 GB, free: 14.55 MB / 0.7999 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/1.239, allocations: 7.938 kB / 1.187 GB, free: 14.55 MB / 0.7999 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002499/1.242, allocations: 1.021 MB / 1.188 GB, free: 13.45 MB / 0.7999 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002619/1.245, allocations: 1.414 MB / 1.189 GB, free: 11.94 MB / 0.7999 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003964/1.245, allocations: 188.2 kB / 1.19 GB, free: 11.74 MB / 0.7999 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/1.245, allocations: 0 / 1.19 GB, free: 11.74 MB / 0.7999 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/1.246, allocations: 11.98 kB / 1.19 GB, free: 11.73 MB / 0.7999 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.444e-05/1.246, allocations: 23.97 kB / 1.19 GB, free: 11.7 MB / 0.7999 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-05/1.246, allocations: 16 kB / 1.19 GB, free: 11.69 MB / 0.7999 GB Notification: Performance of sort global known variables: time 0.0005731/1.246, allocations: 302.9 kB / 1.19 GB, free: 11.39 MB / 0.7999 GB Notification: Performance of remove unused functions: time 0.001939/1.248, allocations: 195.9 kB / 1.19 GB, free: 11.2 MB / 0.7999 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002023/1.249, allocations: 117.4 kB / 1.19 GB, free: 11.08 MB / 0.7999 GB Notification: Performance of simCode: created initialization part: time 0.002906/1.251, allocations: 1.154 MB / 1.191 GB, free: 9.891 MB / 0.7999 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.252, allocations: 3.938 kB / 1.191 GB, free: 9.887 MB / 0.7999 GB Notification: Performance of simCode: created simulation system equations: time 0.001937/1.253, allocations: 0.796 MB / 1.192 GB, free: 9.051 MB / 0.7999 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/1.255, allocations: 157.7 kB / 1.192 GB, free: 8.902 MB / 0.7999 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/1.258, allocations: 1.006 MB / 1.193 GB, free: 7.852 MB / 0.7999 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/1.259, allocations: 1.05 MB / 1.194 GB, free: 6.777 MB / 0.7999 GB Notification: Performance of SimCode: time 1.052e-06/1.259, allocations: 4 kB / 1.194 GB, free: 6.773 MB / 0.7999 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)