Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.777/1.777, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009585/0.0009585, allocations: 185.3 kB / 487 MB, free: 5.328 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.129/1.129, allocations: 221.3 MB / 0.7819 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008878/0.0008878, allocations: 97.67 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4412/0.4421, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.6333, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5655/1.199, allocations: 178.3 MB / 1.379 GB, free: 14.31 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/1.199, allocations: 92.66 kB / 1.38 GB, free: 14.26 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.1911/1.39, allocations: 93.14 MB / 1.471 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/1.39, allocations: 8 kB / 1.471 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003668/1.394, allocations: 0.6833 MB / 1.471 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/1.396, allocations: 1.539 MB / 1.473 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/1.396, allocations: 80 kB / 1.473 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/1.397, allocations: 139.3 kB / 1.473 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003942/1.401, allocations: 2.787 MB / 1.476 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004742/1.405, allocations: 3.562 MB / 1.479 GB, free: 7.004 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.972e-05/1.405, allocations: 7.938 kB / 1.479 GB, free: 6.996 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/1.406, allocations: 4 kB / 1.479 GB, free: 6.992 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001318/1.406, allocations: 168.5 kB / 1.479 GB, free: 6.824 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01455/1.42, allocations: 15.98 MB / 1.495 GB, free: 5.391 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/1.421, allocations: 1.055 MB / 1.496 GB, free: 4.297 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007516/1.422, allocations: 0.6251 MB / 1.497 GB, free: 3.664 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/1.422, allocations: 93.77 kB / 1.497 GB, free: 3.551 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/1.422, allocations: 51.11 kB / 1.497 GB, free: 3.492 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=72): time 2.756e-06/1.422, allocations: 3.938 kB / 1.497 GB, free: 3.488 MB / 0.9167 GB Notification: Performance of matching and sorting (n=76): time 0.004022/1.426, allocations: 2.819 MB / 1.499 GB, free: 0.6406 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/1.426, allocations: 107.5 kB / 1.5 GB, free: 0.5117 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008966/1.427, allocations: 0.852 MB / 1.5 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/1.427, allocations: 29.7 kB / 1.5 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000437/1.428, allocations: 0.9974 MB / 1.501 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/1.428, allocations: 268.4 kB / 1.502 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/1.428, allocations: 0 / 1.502 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.428, allocations: 410.7 kB / 1.502 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007509/1.429, allocations: 0.6286 MB / 1.503 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/1.43, allocations: 1.165 MB / 1.504 GB, free: 11.88 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/1.432, allocations: 1.01 MB / 1.505 GB, free: 10.87 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/1.432, allocations: 8 kB / 1.505 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002981/1.435, allocations: 2.052 MB / 1.507 GB, free: 8.793 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.435, allocations: 8 kB / 1.507 GB, free: 8.785 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/1.435, allocations: 19.98 kB / 1.507 GB, free: 8.766 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/1.435, allocations: 167.9 kB / 1.507 GB, free: 8.59 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/1.436, allocations: 331.4 kB / 1.507 GB, free: 8.266 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.358e-05/1.436, allocations: 35.86 kB / 1.507 GB, free: 8.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000865/1.437, allocations: 99.66 kB / 1.507 GB, free: 8.129 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/1.437, allocations: 67.91 kB / 1.507 GB, free: 8.062 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.0001723/1.437, allocations: 157.6 kB / 1.508 GB, free: 7.902 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/1.438, allocations: 110.8 kB / 1.508 GB, free: 7.793 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/1.44, allocations: 1.337 MB / 1.509 GB, free: 6.434 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/1.44, allocations: 8 kB / 1.509 GB, free: 6.426 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.44, allocations: 4 kB / 1.509 GB, free: 6.422 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/1.44, allocations: 3.984 kB / 1.509 GB, free: 6.418 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004521/1.444, allocations: 3.371 MB / 1.512 GB, free: 2.914 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.444, allocations: 7.984 kB / 1.512 GB, free: 2.906 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000645/1.445, allocations: 147.8 kB / 1.512 GB, free: 2.762 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003244/1.445, allocations: 143.5 kB / 1.513 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/1.445, allocations: 12 kB / 1.513 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/1.445, allocations: 4 kB / 1.513 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.445, allocations: 7.938 kB / 1.513 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001902/1.447, allocations: 1.703 MB / 1.514 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001979/1.449, allocations: 2.09 MB / 1.516 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004025/1.45, allocations: 303.7 kB / 1.517 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/1.45, allocations: 7.906 kB / 1.517 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006104/1.45, allocations: 51.92 kB / 1.517 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/1.45, allocations: 44.59 kB / 1.517 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/1.45, allocations: 24 kB / 1.517 GB, free: 14.11 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006522/1.451, allocations: 0.6283 MB / 1.517 GB, free: 13.47 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001692/1.453, allocations: 388.1 kB / 1.518 GB, free: 13.09 MB / 0.948 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.000169/1.453, allocations: 123 kB / 1.518 GB, free: 12.96 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001779/1.455, allocations: 1.748 MB / 1.52 GB, free: 11.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.455, allocations: 0.875 kB / 1.52 GB, free: 11.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007921/1.456, allocations: 0.9008 MB / 1.52 GB, free: 10.14 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009439/1.457, allocations: 213.2 kB / 1.521 GB, free: 9.934 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004715/1.461, allocations: 3.104 MB / 1.524 GB, free: 6.746 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001877/1.463, allocations: 2.053 MB / 1.526 GB, free: 4.656 MB / 0.948 GB Notification: Performance of SimCode: time 2.3e-07/1.463, allocations: 0 / 1.526 GB, free: 4.656 MB / 0.948 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat does not exist to compare? outputFormat=mat