Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.824/1.824, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.0009935/0.0009935, allocations: 177.3 kB / 490.8 MB, free: 1.922 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.125/1.125, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.0008704/0.0008705, allocations: 94.53 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.414/0.4149, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.5873, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6082/1.196, allocations: 179.1 MB / 1.387 GB, free: 16.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/1.196, allocations: 91.22 kB / 1.387 GB, free: 16.01 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.1979/1.394, allocations: 93.14 MB / 1.478 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/1.394, allocations: 8 kB / 1.478 GB, free: 6.109 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004538/1.398, allocations: 0.6832 MB / 1.478 GB, free: 5.426 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/1.402, allocations: 1.541 MB / 1.48 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.094e-05/1.402, allocations: 76 kB / 1.48 GB, free: 4.129 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007225/1.402, allocations: 139.9 kB / 1.48 GB, free: 3.992 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005198/1.408, allocations: 2.793 MB / 1.483 GB, free: 2.207 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006905/1.415, allocations: 3.559 MB / 1.486 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.22e-05/1.415, allocations: 8 kB / 1.486 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000375/1.415, allocations: 4 kB / 1.486 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/1.415, allocations: 164.5 kB / 1.486 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01742/1.433, allocations: 15.98 MB / 1.502 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/1.434, allocations: 1.066 MB / 1.503 GB, free: 12 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008187/1.435, allocations: 0.6213 MB / 1.504 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/1.435, allocations: 97.73 kB / 1.504 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/1.435, allocations: 47.16 kB / 1.504 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=72): time 7.474e-06/1.435, allocations: 0 / 1.504 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=76): time 0.00466/1.44, allocations: 2.819 MB / 1.507 GB, free: 8.344 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/1.44, allocations: 111.5 kB / 1.507 GB, free: 8.211 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/1.441, allocations: 0.8441 MB / 1.507 GB, free: 7.363 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/1.441, allocations: 29.64 kB / 1.508 GB, free: 7.328 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000457/1.441, allocations: 1.013 MB / 1.508 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/1.441, allocations: 260.3 kB / 1.509 GB, free: 6.039 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/1.441, allocations: 0 / 1.509 GB, free: 6.039 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.442, allocations: 410.7 kB / 1.509 GB, free: 5.629 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007788/1.442, allocations: 0.6325 MB / 1.51 GB, free: 4.996 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/1.443, allocations: 1.161 MB / 1.511 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/1.445, allocations: 1.01 MB / 1.512 GB, free: 2.574 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/1.445, allocations: 8 kB / 1.512 GB, free: 2.566 MB / 0.9167 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003082/1.448, allocations: 2.057 MB / 1.514 GB, free: 0.4922 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/1.448, allocations: 8 kB / 1.514 GB, free: 496 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/1.448, allocations: 16 kB / 1.514 GB, free: 480 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003999/1.449, allocations: 163.3 kB / 1.514 GB, free: 304 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/1.45, allocations: 331.7 kB / 1.514 GB, free: 15.97 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.418e-05/1.45, allocations: 35.86 kB / 1.514 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009215/1.451, allocations: 95.67 kB / 1.515 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/1.451, allocations: 67.98 kB / 1.515 GB, free: 15.78 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001718/1.451, allocations: 152.3 kB / 1.515 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/1.451, allocations: 102.8 kB / 1.515 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/1.453, allocations: 1.357 MB / 1.516 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/1.453, allocations: 8 kB / 1.516 GB, free: 14.13 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.453, allocations: 4 kB / 1.516 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/1.453, allocations: 7.984 kB / 1.516 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004828/1.458, allocations: 3.367 MB / 1.519 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.458, allocations: 0 / 1.519 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006642/1.459, allocations: 168 kB / 1.52 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003404/1.459, allocations: 135.3 kB / 1.52 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.122e-05/1.459, allocations: 7.984 kB / 1.52 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/1.459, allocations: 8 kB / 1.52 GB, free: 10.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.459, allocations: 3.938 kB / 1.52 GB, free: 10.29 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001951/1.461, allocations: 1.695 MB / 1.521 GB, free: 8.473 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002067/1.463, allocations: 2.105 MB / 1.523 GB, free: 6.25 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004193/1.464, allocations: 291.8 kB / 1.524 GB, free: 5.945 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/1.464, allocations: 4 kB / 1.524 GB, free: 5.941 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006338/1.465, allocations: 59.83 kB / 1.524 GB, free: 5.883 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/1.465, allocations: 44.53 kB / 1.524 GB, free: 5.836 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/1.465, allocations: 24 kB / 1.524 GB, free: 5.812 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0006921/1.465, allocations: 0.6322 MB / 1.524 GB, free: 5.168 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001988/1.467, allocations: 384.1 kB / 1.525 GB, free: 4.793 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001815/1.468, allocations: 123 kB / 1.525 GB, free: 4.66 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001848/1.469, allocations: 1.738 MB / 1.527 GB, free: 2.84 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.469, allocations: 6.5 kB / 1.527 GB, free: 2.836 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008233/1.47, allocations: 0.9118 MB / 1.528 GB, free: 1.84 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/1.471, allocations: 214.3 kB / 1.528 GB, free: 1.633 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005016/1.476, allocations: 3.104 MB / 1.531 GB, free: 14.45 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001911/1.478, allocations: 2.045 MB / 1.533 GB, free: 12.36 MB / 0.948 GB Notification: Performance of SimCode: time 1.863e-06/1.478, allocations: 0 / 1.533 GB, free: 12.36 MB / 0.948 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat does not exist to compare? outputFormat=mat