Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.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.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",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.838/1.838, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001027/0.001027, allocations: 185.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.172/1.172, allocations: 221.3 MB / 0.7863 GB, free: 13.64 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.0008644/0.0008644, allocations: 86.56 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4283/0.4292, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.6191, allocations: 143 MB / 1.212 GB, free: 39.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5085/1.128, allocations: 168.1 MB / 1.376 GB, free: 17.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/1.128, allocations: 97.95 kB / 1.376 GB, free: 17.08 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.07768/1.206, allocations: 38.35 MB / 1.413 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/1.206, allocations: 11.98 kB / 1.413 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/1.207, allocations: 249.5 kB / 1.414 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/1.209, allocations: 0.7125 MB / 1.414 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/1.209, allocations: 40 kB / 1.414 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002868/1.209, allocations: 72 kB / 1.414 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002479/1.211, allocations: 1.518 MB / 1.416 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002907/1.214, allocations: 1.777 MB / 1.418 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/1.214, allocations: 0 / 1.418 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/1.215, allocations: 0 / 1.418 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.9e-05/1.215, allocations: 62 kB / 1.418 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008048/1.223, allocations: 7.877 MB / 1.425 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/1.223, allocations: 123.5 kB / 1.426 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/1.223, allocations: 77.27 kB / 1.426 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/1.223, allocations: 95.5 kB / 1.426 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/1.223, allocations: 34.56 kB / 1.426 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/1.223, allocations: 0 / 1.426 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0005594/1.224, allocations: 260.7 kB / 1.426 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/1.224, allocations: 132.6 kB / 1.426 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008898/1.225, allocations: 0.8206 MB / 1.427 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/1.225, allocations: 29.64 kB / 1.427 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004196/1.225, allocations: 0.7522 MB / 1.428 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/1.225, allocations: 52.91 kB / 1.428 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/1.225, allocations: 0 / 1.428 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.225, allocations: 374.7 kB / 1.428 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004881/1.226, allocations: 413.5 kB / 1.428 GB, free: 312 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000882/1.227, allocations: 1.144 MB / 1.43 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/1.228, allocations: 0.8123 MB / 1.43 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/1.228, allocations: 8 kB / 1.43 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002179/1.23, allocations: 1.456 MB / 1.432 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.23, allocations: 8 kB / 1.432 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/1.23, allocations: 28 kB / 1.432 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.789e-05/1.23, allocations: 48.03 kB / 1.432 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007772/1.231, allocations: 277.6 kB / 1.432 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.275e-05/1.231, allocations: 51.8 kB / 1.432 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000766/1.232, allocations: 158.3 kB / 1.432 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.045e-05/1.232, allocations: 66.88 kB / 1.432 GB, free: 12.53 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 147 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001403/1.232, allocations: 170.8 kB / 1.433 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/1.232, allocations: 63.33 kB / 1.433 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/1.232, allocations: 146.7 kB / 1.433 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.232, allocations: 0 / 1.433 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/1.232, allocations: 3.938 kB / 1.433 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/1.232, allocations: 0 / 1.433 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006772/1.233, allocations: 0.5007 MB / 1.433 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.233, allocations: 3.906 kB / 1.433 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/1.233, allocations: 4 kB / 1.433 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/1.233, allocations: 4 kB / 1.433 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/1.233, allocations: 4 kB / 1.433 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.233, allocations: 0 / 1.433 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.233, allocations: 0 / 1.433 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002258/1.233, allocations: 387.2 kB / 1.434 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003272/1.234, allocations: 0.761 MB / 1.434 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/1.234, allocations: 155.4 kB / 1.435 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.478e-05/1.234, allocations: 4 kB / 1.435 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/1.234, allocations: 7.984 kB / 1.435 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/1.234, allocations: 11.66 kB / 1.435 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-06/1.234, allocations: 4.094 kB / 1.435 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0006551/1.235, allocations: 0.6244 MB / 1.435 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001513/1.236, allocations: 271 kB / 1.435 GB, free: 9.629 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001352/1.237, allocations: 111.2 kB / 1.436 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007756/1.237, allocations: 0.684 MB / 1.436 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/1.237, allocations: 1.125 kB / 1.436 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.126e-05/1.237, allocations: 19.86 kB / 1.436 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/1.238, allocations: 47.45 kB / 1.436 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/1.24, allocations: 1.303 MB / 1.438 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/1.241, allocations: 1.353 MB / 1.439 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of SimCode: time 2.91e-07/1.241, allocations: 4 kB / 1.439 GB, free: 6.543 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat does not exist to compare? outputFormat=mat