Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.808/1.808, allocations: 390.4 MB / 397.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009517/0.0009518, allocations: 185.3 kB / 490.8 MB, free: 1.918 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.13/1.13, allocations: 221.3 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008728/0.0008729, allocations: 99.03 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.3971/0.3981, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.5704, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5236/1.094, allocations: 172.8 MB / 1.38 GB, free: 17.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/1.094, allocations: 93.77 kB / 1.381 GB, free: 17.06 MB / 0.823 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.0837/1.178, allocations: 40.6 MB / 1.42 GB, free: 8.336 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/1.178, allocations: 8 kB / 1.42 GB, free: 8.328 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/1.18, allocations: 218 kB / 1.42 GB, free: 8.117 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000963/1.181, allocations: 0.5305 MB / 1.421 GB, free: 7.613 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/1.181, allocations: 20 kB / 1.421 GB, free: 7.594 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/1.181, allocations: 43.28 kB / 1.421 GB, free: 7.555 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008587/1.182, allocations: 0.569 MB / 1.422 GB, free: 7.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/1.183, allocations: 0.9982 MB / 1.423 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.445e-05/1.183, allocations: 23.58 kB / 1.423 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.601e-05/1.183, allocations: 4 kB / 1.423 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.024e-05/1.183, allocations: 56.41 kB / 1.423 GB, free: 6.168 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004637/1.188, allocations: 5.666 MB / 1.428 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/1.188, allocations: 403.8 kB / 1.429 GB, free: 356 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/1.189, allocations: 299.5 kB / 1.429 GB, free: 168 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/1.189, allocations: 8.672 kB / 1.429 GB, free: 160 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/1.189, allocations: 37.69 kB / 1.429 GB, free: 116 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=41): time 3.166e-06/1.189, allocations: 0 / 1.429 GB, free: 116 kB / 0.8386 GB Notification: Performance of matching and sorting (n=42): time 0.001976/1.191, allocations: 1.125 MB / 1.43 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/1.191, allocations: 59.31 kB / 1.43 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/1.191, allocations: 318.8 kB / 1.43 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/1.191, allocations: 33.7 kB / 1.43 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/1.191, allocations: 332.3 kB / 1.431 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.071e-05/1.191, allocations: 140.5 kB / 1.431 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/1.191, allocations: 0 / 1.431 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.191, allocations: 357 kB / 1.431 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/1.192, allocations: 223.8 kB / 1.431 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/1.192, allocations: 418.6 kB / 1.432 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/1.192, allocations: 283.3 kB / 1.432 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.192, allocations: 4 kB / 1.432 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001502/1.194, allocations: 0.9093 MB / 1.433 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/1.194, allocations: 10.84 kB / 1.433 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.194, allocations: 11.98 kB / 1.433 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009161/1.195, allocations: 273.2 kB / 1.433 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/1.195, allocations: 91.77 kB / 1.433 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005384/1.201, allocations: 6.222 MB / 1.439 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/1.201, allocations: 11.98 kB / 1.439 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/1.201, allocations: 23.44 kB / 1.439 GB, free: 6.145 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 (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.0001171/1.201, allocations: 130.1 kB / 1.439 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.008e-05/1.201, allocations: 55.34 kB / 1.44 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/1.203, allocations: 0.8123 MB / 1.44 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/1.203, allocations: 11.98 kB / 1.44 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.203, allocations: 4 kB / 1.44 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.203, allocations: 3.938 kB / 1.44 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/1.205, allocations: 1.513 MB / 1.442 GB, free: 4.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/1.205, allocations: 8.031 kB / 1.442 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/1.205, allocations: 43.91 kB / 1.442 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00084/1.206, allocations: 274.5 kB / 1.442 GB, free: 3.828 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/1.206, allocations: 4 kB / 1.442 GB, free: 3.824 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0053/1.211, allocations: 6.194 MB / 1.448 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.211, allocations: 7.984 kB / 1.448 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001422/1.213, allocations: 0.988 MB / 1.449 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00154/1.214, allocations: 1.372 MB / 1.451 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/1.215, allocations: 165.4 kB / 1.451 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/1.215, allocations: 11.97 kB / 1.451 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/1.215, allocations: 11.98 kB / 1.451 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/1.215, allocations: 23.28 kB / 1.451 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/1.215, allocations: 11.38 kB / 1.451 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002168/1.215, allocations: 247.6 kB / 1.451 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001237/1.217, allocations: 167.6 kB / 1.451 GB, free: 11 MB / 0.8698 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.0001455/1.217, allocations: 110.9 kB / 1.451 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001487/1.218, allocations: 1.067 MB / 1.452 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.218, allocations: 4 kB / 1.452 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/1.219, allocations: 0.7675 MB / 1.453 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007186/1.22, allocations: 152.2 kB / 1.453 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/1.221, allocations: 0.8929 MB / 1.454 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006109/1.222, allocations: 1.032 MB / 1.455 GB, free: 7.27 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/1.222, allocations: 0 / 1.455 GB, free: 7.27 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat