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_L.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_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.149/2.149, 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.001616/0.001616, allocations: 181.2 kB / 360.3 MB, free: 7.559 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.654/1.654, allocations: 205.1 MB / 0.6187 GB, free: 13.29 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.001235/0.001235, allocations: 88 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2464/0.2477, allocations: 121.4 MB / 0.8502 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5705/0.8182, allocations: 115.2 MB / 0.9628 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2478/1.066, allocations: 163.4 MB / 1.122 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003964/1.067, allocations: 93.3 kB / 1.122 GB, free: 9.297 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.1496/1.216, allocations: 37.66 MB / 1.159 GB, free: 3.422 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/1.216, allocations: 12 kB / 1.159 GB, free: 3.41 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/1.219, allocations: 218.7 kB / 1.159 GB, free: 3.195 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/1.221, allocations: 0.5405 MB / 1.16 GB, free: 2.613 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/1.221, allocations: 22.5 kB / 1.16 GB, free: 2.594 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/1.221, allocations: 49.69 kB / 1.16 GB, free: 2.547 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001691/1.223, allocations: 0.5694 MB / 1.161 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/1.225, allocations: 1.002 MB / 1.162 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.296e-05/1.225, allocations: 7.938 kB / 1.162 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/1.225, allocations: 4 kB / 1.162 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/1.225, allocations: 57.28 kB / 1.162 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00839/1.233, allocations: 5.68 MB / 1.167 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009456/1.234, allocations: 390.4 kB / 1.168 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007069/1.235, allocations: 319.4 kB / 1.168 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/1.235, allocations: 4 kB / 1.168 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/1.235, allocations: 34.56 kB / 1.168 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=41): time 6.122e-06/1.235, allocations: 0 / 1.168 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.00405/1.239, allocations: 1.124 MB / 1.169 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/1.239, allocations: 55.41 kB / 1.169 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006224/1.24, allocations: 333.2 kB / 1.169 GB, free: 8.371 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.406e-05/1.24, allocations: 25.7 kB / 1.169 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/1.24, allocations: 339 kB / 1.17 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/1.241, allocations: 138 kB / 1.17 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/1.241, allocations: 0 / 1.17 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001913/1.241, allocations: 368.4 kB / 1.17 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005808/1.242, allocations: 225.2 kB / 1.17 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007979/1.242, allocations: 405.2 kB / 1.171 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007726/1.243, allocations: 300.4 kB / 1.171 GB, free: 6.508 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.243, allocations: 0 / 1.171 GB, free: 6.508 MB / 0.7761 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003117/1.246, allocations: 0.9056 MB / 1.172 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/1.246, allocations: 4.75 kB / 1.172 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/1.246, allocations: 4 kB / 1.172 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00176/1.248, allocations: 287.2 kB / 1.172 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000795/1.249, allocations: 95.83 kB / 1.172 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/1.259, allocations: 6.216 MB / 1.178 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006805/1.26, allocations: 13.88 kB / 1.178 GB, free: 14.51 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.167e-05/1.26, allocations: 24 kB / 1.178 GB, free: 14.48 MB / 0.7917 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 (51): * Single equations (assignments): 47 * 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 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001883/1.26, allocations: 120.8 kB / 1.179 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/1.261, allocations: 55.34 kB / 1.179 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002857/1.263, allocations: 0.8219 MB / 1.179 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.263, allocations: 8 kB / 1.179 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/1.263, allocations: 4 kB / 1.179 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/1.263, allocations: 4.922 kB / 1.179 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004563/1.268, allocations: 1.511 MB / 1.181 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/1.268, allocations: 4 kB / 1.181 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/1.269, allocations: 44.09 kB / 1.181 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00165/1.27, allocations: 283.3 kB / 1.181 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/1.27, allocations: 4 kB / 1.181 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009658/1.28, allocations: 6.196 MB / 1.187 GB, free: 4.871 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/1.28, allocations: 4 kB / 1.187 GB, free: 4.867 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002956/1.283, allocations: 0.9896 MB / 1.188 GB, free: 3.789 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00293/1.286, allocations: 1.366 MB / 1.19 GB, free: 2.336 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/1.286, allocations: 177.6 kB / 1.19 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/1.286, allocations: 7.906 kB / 1.19 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004699/1.287, allocations: 7.984 kB / 1.19 GB, free: 2.129 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/1.287, allocations: 27.91 kB / 1.19 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/1.287, allocations: 12 kB / 1.19 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0004146/1.288, allocations: 247 kB / 1.19 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001879/1.289, allocations: 172 kB / 1.19 GB, free: 1.684 MB / 0.7917 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 (25): * Single equations (assignments): 21 * 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,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002017/1.29, allocations: 107.5 kB / 1.19 GB, free: 1.57 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002807/1.292, allocations: 1.071 MB / 1.191 GB, free: 472 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.292, allocations: 0 / 1.191 GB, free: 472 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002034/1.295, allocations: 0.7612 MB / 1.192 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/1.296, allocations: 163.8 kB / 1.192 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/1.299, allocations: 0.903 MB / 1.193 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/1.3, allocations: 1.024 MB / 1.194 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of SimCode: time 1.162e-06/1.3, allocations: 0 / 1.194 GB, free: 13.51 MB / 0.8073 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)