Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.799/1.799, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001002/0.001002, allocations: 189.2 kB / 490.8 MB, free: 1.938 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.131/1.131, allocations: 221.3 MB / 0.7863 GB, free: 13.63 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.0008589/0.0008589, allocations: 88.67 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4545/0.4554, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.6598, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5297/1.189, allocations: 191.5 MB / 1.399 GB, free: 9.773 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/1.19, allocations: 93.69 kB / 1.399 GB, free: 9.723 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.1824/1.372, allocations: 84.36 MB / 1.481 GB, free: 2.566 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/1.372, allocations: 8 kB / 1.481 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009745/1.382, allocations: 1.462 MB / 1.483 GB, free: 1.117 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/1.384, allocations: 1.148 MB / 1.484 GB, free: 128 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.422e-05/1.384, allocations: 36 kB / 1.484 GB, free: 92 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002754/1.385, allocations: 68 kB / 1.484 GB, free: 24 kB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002388/1.387, allocations: 1.496 MB / 1.485 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002608/1.39, allocations: 1.916 MB / 1.487 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/1.39, allocations: 7.906 kB / 1.487 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/1.39, allocations: 4 kB / 1.487 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.25e-05/1.39, allocations: 89.62 kB / 1.487 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01172/1.402, allocations: 9.781 MB / 1.497 GB, free: 3.27 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/1.403, allocations: 1.094 MB / 1.498 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007241/1.404, allocations: 0.5995 MB / 1.498 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/1.404, allocations: 8.422 kB / 1.498 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/1.404, allocations: 54.92 kB / 1.498 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=53): time 2.515e-06/1.404, allocations: 0 / 1.498 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81): time 0.008495/1.413, allocations: 3.944 MB / 1.502 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/1.413, allocations: 218.3 kB / 1.503 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009484/1.414, allocations: 0.7499 MB / 1.503 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.655e-05/1.414, allocations: 25.7 kB / 1.503 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/1.414, allocations: 0.5455 MB / 1.504 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/1.414, allocations: 275.9 kB / 1.504 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-05/1.414, allocations: 0 / 1.504 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.444e-05/1.415, allocations: 342 kB / 1.504 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009127/1.415, allocations: 0.697 MB / 1.505 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/1.417, allocations: 0.9321 MB / 1.506 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/1.418, allocations: 0.793 MB / 1.507 GB, free: 8.746 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.418, allocations: 0 / 1.507 GB, free: 8.746 MB / 0.9167 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004795/1.423, allocations: 2.49 MB / 1.509 GB, free: 6.219 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/1.423, allocations: 4 kB / 1.509 GB, free: 6.215 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.423, allocations: 4 kB / 1.509 GB, free: 6.211 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002976/1.426, allocations: 0.8503 MB / 1.51 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/1.427, allocations: 343.4 kB / 1.51 GB, free: 5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/1.441, allocations: 13.83 MB / 1.524 GB, free: 6.246 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/1.443, allocations: 203.7 kB / 1.524 GB, free: 6.047 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/1.443, allocations: 51.91 kB / 1.524 GB, free: 5.996 MB / 0.9323 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002646/1.443, allocations: 128.7 kB / 1.524 GB, free: 5.863 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/1.443, allocations: 126.5 kB / 1.524 GB, free: 5.738 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00518/1.449, allocations: 2.528 MB / 1.527 GB, free: 3.168 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/1.449, allocations: 8 kB / 1.527 GB, free: 3.16 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/1.449, allocations: 12 kB / 1.527 GB, free: 3.148 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/1.449, allocations: 7.984 kB / 1.527 GB, free: 3.141 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007377/1.456, allocations: 4.1 MB / 1.531 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.456, allocations: 0 / 1.531 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/1.458, allocations: 283.9 kB / 1.531 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00267/1.46, allocations: 0.7639 MB / 1.532 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/1.46, allocations: 23.91 kB / 1.532 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0123/1.473, allocations: 13.38 MB / 1.545 GB, free: 15.54 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.473, allocations: 4 kB / 1.545 GB, free: 15.54 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004419/1.477, allocations: 2.468 MB / 1.547 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004504/1.482, allocations: 2.879 MB / 1.55 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000733/1.482, allocations: 379.6 kB / 1.551 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003243/1.483, allocations: 15.98 kB / 1.551 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/1.485, allocations: 207.7 kB / 1.551 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/1.485, allocations: 44.59 kB / 1.551 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/1.485, allocations: 35.97 kB / 1.551 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0007739/1.486, allocations: 0.5679 MB / 1.551 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001997/1.488, allocations: 403.9 kB / 1.552 GB, free: 8.27 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002833/1.488, allocations: 134.7 kB / 1.552 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004142/1.492, allocations: 2.701 MB / 1.555 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.492, allocations: 0 / 1.555 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002831/1.495, allocations: 1.852 MB / 1.556 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/1.497, allocations: 394.8 kB / 1.557 GB, free: 3.043 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006817/1.504, allocations: 2.608 MB / 1.559 GB, free: 364 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/1.505, allocations: 1.503 MB / 1.561 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of SimCode: time 1.633e-06/1.505, allocations: 0 / 1.561 GB, free: 14.82 MB / 0.9792 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat does not exist to compare? outputFormat=mat