Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_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.191/2.191, allocations: 284.8 MB / 292.1 MB, free: 10.72 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.003417/0.003417, allocations: 181.2 kB / 360.3 MB, free: 7.488 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.732/1.732, allocations: 205.1 MB / 0.6187 GB, free: 12.46 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.001218/0.001217, allocations: 92.44 kB / 0.7317 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2426/0.2439, allocations: 121.4 MB / 0.8502 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5573/0.8012, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2399/1.041, allocations: 160.3 MB / 1.119 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003462/1.042, allocations: 88.78 kB / 1.119 GB, free: 12.38 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.1457/1.187, allocations: 37.17 MB / 1.156 GB, free: 6.957 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/1.187, allocations: 12.5 kB / 1.156 GB, free: 6.945 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002601/1.19, allocations: 218.8 kB / 1.156 GB, free: 6.73 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/1.192, allocations: 0.5361 MB / 1.156 GB, free: 6.148 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/1.192, allocations: 23.91 kB / 1.156 GB, free: 6.125 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/1.192, allocations: 36 kB / 1.157 GB, free: 6.09 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001604/1.194, allocations: 0.5616 MB / 1.157 GB, free: 5.531 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/1.196, allocations: 1.014 MB / 1.158 GB, free: 4.367 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.227e-05/1.196, allocations: 10.34 kB / 1.158 GB, free: 4.359 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.684e-05/1.196, allocations: 4 kB / 1.158 GB, free: 4.355 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.961e-05/1.196, allocations: 61.27 kB / 1.158 GB, free: 4.297 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007862/1.204, allocations: 5.664 MB / 1.164 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008876/1.205, allocations: 398.4 kB / 1.164 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006803/1.205, allocations: 300.5 kB / 1.164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.532e-05/1.206, allocations: 4.562 kB / 1.164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/1.206, allocations: 38.56 kB / 1.164 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=41): time 2.715e-06/1.206, allocations: 4 kB / 1.164 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.003788/1.209, allocations: 1.127 MB / 1.165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/1.209, allocations: 59.41 kB / 1.166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005391/1.21, allocations: 321 kB / 1.166 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/1.21, allocations: 26.45 kB / 1.166 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/1.21, allocations: 331 kB / 1.166 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/1.211, allocations: 145.9 kB / 1.166 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/1.211, allocations: 0 / 1.166 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.211, allocations: 358.8 kB / 1.167 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005835/1.211, allocations: 221.2 kB / 1.167 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007145/1.212, allocations: 413.2 kB / 1.167 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006983/1.213, allocations: 296.4 kB / 1.168 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/1.213, allocations: 5.125 kB / 1.168 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003062/1.216, allocations: 0.9021 MB / 1.168 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.216, allocations: 4 kB / 1.168 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/1.216, allocations: 8 kB / 1.168 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001691/1.218, allocations: 283.6 kB / 1.169 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007118/1.218, allocations: 87.89 kB / 1.169 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009786/1.228, allocations: 6.221 MB / 1.175 GB, free: 2.094 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006959/1.229, allocations: 11.98 kB / 1.175 GB, free: 2.082 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.961e-05/1.229, allocations: 28 kB / 1.175 GB, free: 2.055 MB / 0.7761 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.0001899/1.229, allocations: 120.8 kB / 1.175 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/1.229, allocations: 59.28 kB / 1.175 GB, free: 1.871 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/1.232, allocations: 0.8141 MB / 1.176 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/1.232, allocations: 4 kB / 1.176 GB, free: 1.035 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/1.232, allocations: 8.156 kB / 1.176 GB, free: 1.031 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.232, allocations: 3.984 kB / 1.176 GB, free: 1.027 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004673/1.237, allocations: 1.519 MB / 1.177 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.056e-06/1.237, allocations: 0 / 1.177 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/1.238, allocations: 51.91 kB / 1.177 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/1.239, allocations: 267.4 kB / 1.178 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-05/1.239, allocations: 0 / 1.178 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009363/1.249, allocations: 6.201 MB / 1.184 GB, free: 8.445 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.288e-06/1.249, allocations: 4 kB / 1.184 GB, free: 8.441 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002911/1.252, allocations: 0.9859 MB / 1.185 GB, free: 7.367 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003009/1.255, allocations: 1.378 MB / 1.186 GB, free: 5.902 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000449/1.255, allocations: 168.3 kB / 1.186 GB, free: 5.719 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/1.255, allocations: 4 kB / 1.186 GB, free: 5.715 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004815/1.256, allocations: 7.984 kB / 1.186 GB, free: 5.707 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.158e-05/1.256, allocations: 27.97 kB / 1.186 GB, free: 5.68 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/1.256, allocations: 12 kB / 1.186 GB, free: 5.668 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0004197/1.256, allocations: 247.2 kB / 1.186 GB, free: 5.426 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001925/1.258, allocations: 164 kB / 1.187 GB, free: 5.266 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.0002125/1.259, allocations: 115.5 kB / 1.187 GB, free: 5.141 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002878/1.261, allocations: 1.071 MB / 1.188 GB, free: 4.031 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.262, allocations: 0 / 1.188 GB, free: 4.031 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001936/1.263, allocations: 0.7613 MB / 1.189 GB, free: 3.23 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/1.265, allocations: 160.6 kB / 1.189 GB, free: 3.082 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/1.268, allocations: 0.9043 MB / 1.19 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/1.269, allocations: 1.016 MB / 1.191 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of SimCode: time 1.453e-06/1.269, allocations: 0 / 1.191 GB, free: 1.09 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)