Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.754/1.754, allocations: 390.4 MB / 397.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009633/0.0009633, allocations: 178.5 kB / 490.8 MB, free: 11.23 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.097/1.097, allocations: 221.4 MB / 0.7863 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008694/0.0008694, allocations: 92.27 kB / 0.9264 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2315/0.2324, allocations: 149.2 MB / 1.072 GB, free: 15.49 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5168/0.7492, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1537/0.903, allocations: 175.9 MB / 1.383 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.9033, allocations: 92.56 kB / 1.384 GB, free: 15.59 MB / 0.8855 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.1101/1.013, allocations: 56.14 MB / 1.438 GB, free: 7.172 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/1.013, allocations: 11.94 kB / 1.438 GB, free: 7.16 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/1.015, allocations: 218.7 kB / 1.439 GB, free: 6.945 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009401/1.016, allocations: 0.5461 MB / 1.439 GB, free: 6.359 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/1.016, allocations: 20 kB / 1.439 GB, free: 6.34 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/1.016, allocations: 47.91 kB / 1.439 GB, free: 6.293 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008427/1.017, allocations: 0.5655 MB / 1.44 GB, free: 5.727 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/1.018, allocations: 1.002 MB / 1.441 GB, free: 4.574 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/1.018, allocations: 7.938 kB / 1.441 GB, free: 4.566 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/1.018, allocations: 4 kB / 1.441 GB, free: 4.562 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.731e-05/1.018, allocations: 65.27 kB / 1.441 GB, free: 4.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004197/1.023, allocations: 5.672 MB / 1.446 GB, free: 14.41 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/1.023, allocations: 402.4 kB / 1.447 GB, free: 14.01 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/1.023, allocations: 300.8 kB / 1.447 GB, free: 13.71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/1.023, allocations: 4.688 kB / 1.447 GB, free: 13.71 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/1.023, allocations: 42.47 kB / 1.447 GB, free: 13.66 MB / 0.948 GB Notification: Performance of pre-optimization done (n=41): time 1.743e-06/1.023, allocations: 0 / 1.447 GB, free: 13.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=42): time 0.001982/1.025, allocations: 1.131 MB / 1.448 GB, free: 12.51 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/1.026, allocations: 59.39 kB / 1.448 GB, free: 12.44 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/1.026, allocations: 329.2 kB / 1.449 GB, free: 12.11 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/1.026, allocations: 29.7 kB / 1.449 GB, free: 12.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/1.026, allocations: 327 kB / 1.449 GB, free: 11.75 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.221e-05/1.026, allocations: 151.9 kB / 1.449 GB, free: 11.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/1.026, allocations: 0 / 1.449 GB, free: 11.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000103/1.026, allocations: 358.8 kB / 1.449 GB, free: 11.24 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/1.027, allocations: 225.2 kB / 1.45 GB, free: 11.02 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/1.027, allocations: 409.7 kB / 1.45 GB, free: 10.54 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/1.027, allocations: 287.7 kB / 1.45 GB, free: 10.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.027, allocations: 4 kB / 1.45 GB, free: 10.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00155/1.029, allocations: 0.9024 MB / 1.451 GB, free: 9.328 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/1.029, allocations: 7.984 kB / 1.451 GB, free: 9.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.029, allocations: 13.53 kB / 1.451 GB, free: 9.309 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008768/1.03, allocations: 290.3 kB / 1.451 GB, free: 9.016 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/1.03, allocations: 91.83 kB / 1.452 GB, free: 8.926 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005254/1.035, allocations: 6.219 MB / 1.458 GB, free: 2.254 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/1.036, allocations: 15.89 kB / 1.458 GB, free: 2.238 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/1.036, allocations: 24 kB / 1.458 GB, free: 2.215 MB / 0.948 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.0001017/1.036, allocations: 117.1 kB / 1.458 GB, free: 2.094 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.325e-05/1.036, allocations: 55.34 kB / 1.458 GB, free: 2.039 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/1.037, allocations: 0.8255 MB / 1.459 GB, free: 1.195 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/1.037, allocations: 4 kB / 1.459 GB, free: 1.191 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/1.037, allocations: 7.906 kB / 1.459 GB, free: 1.184 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.037, allocations: 0 / 1.459 GB, free: 1.184 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/1.04, allocations: 1.515 MB / 1.46 GB, free: 15.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.04, allocations: 3.906 kB / 1.46 GB, free: 15.59 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/1.04, allocations: 41.42 kB / 1.46 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008513/1.041, allocations: 286.2 kB / 1.46 GB, free: 15.26 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/1.041, allocations: 0 / 1.46 GB, free: 15.26 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005079/1.046, allocations: 6.191 MB / 1.466 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.046, allocations: 7.938 kB / 1.466 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001409/1.047, allocations: 0.9917 MB / 1.467 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001514/1.049, allocations: 1.377 MB / 1.469 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/1.049, allocations: 168.4 kB / 1.469 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/1.049, allocations: 0 / 1.469 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/1.049, allocations: 19.89 kB / 1.469 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/1.049, allocations: 15.97 kB / 1.469 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/1.049, allocations: 16 kB / 1.469 GB, free: 5.836 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0002144/1.05, allocations: 251 kB / 1.469 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00116/1.051, allocations: 167.9 kB / 1.469 GB, free: 5.43 MB / 0.9636 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.0001489/1.051, allocations: 118.9 kB / 1.469 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001516/1.052, allocations: 1.07 MB / 1.471 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.052, allocations: 1.781 kB / 1.471 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/1.053, allocations: 0.757 MB / 1.471 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007213/1.054, allocations: 160.9 kB / 1.471 GB, free: 3.25 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/1.056, allocations: 0.9108 MB / 1.472 GB, free: 2.293 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006012/1.056, allocations: 1.024 MB / 1.473 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of SimCode: time 2.9e-07/1.056, allocations: 4 kB / 1.473 GB, free: 1.238 MB / 0.9636 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat