Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull",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.806/1.806, 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.001004/0.001004, allocations: 169.3 kB / 487 MB, free: 5.367 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.188/1.188, allocations: 221.3 MB / 0.7819 GB, free: 1.355 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.0009526/0.0009526, allocations: 91.06 kB / 0.9213 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4226/0.4236, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.6155, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5662/1.182, allocations: 195.4 MB / 1.396 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/1.182, allocations: 94.42 kB / 1.396 GB, free: 13.93 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.1146/1.297, allocations: 51.72 MB / 1.447 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/1.297, allocations: 12 kB / 1.447 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009169/1.306, allocations: 1.251 MB / 1.448 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/1.307, allocations: 0.6195 MB / 1.449 GB, free: 296 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/1.307, allocations: 31.92 kB / 1.449 GB, free: 264 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/1.307, allocations: 39.91 kB / 1.449 GB, free: 224 kB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002099/1.309, allocations: 1.341 MB / 1.45 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/1.311, allocations: 1.377 MB / 1.451 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/1.311, allocations: 7.938 kB / 1.451 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/1.311, allocations: 4 kB / 1.451 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002912/1.312, allocations: 140 kB / 1.451 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008993/1.321, allocations: 6.56 MB / 1.458 GB, free: 8.062 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009923/1.322, allocations: 0.829 MB / 1.459 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006977/1.322, allocations: 0.5791 MB / 1.459 GB, free: 7.086 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001916/1.324, allocations: 1.482 MB / 1.461 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/1.324, allocations: 49.86 kB / 1.461 GB, free: 5.746 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 1.974e-06/1.324, allocations: 0 / 1.461 GB, free: 5.746 MB / 0.8855 GB Notification: Performance of matching and sorting (n=107): time 0.01007/1.335, allocations: 4.163 MB / 1.465 GB, free: 2.469 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/1.335, allocations: 90.05 kB / 1.465 GB, free: 2.363 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/1.335, allocations: 481.1 kB / 1.465 GB, free: 1.992 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/1.335, allocations: 25.7 kB / 1.465 GB, free: 1.961 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/1.335, allocations: 360.8 kB / 1.466 GB, free: 1.641 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/1.336, allocations: 355.4 kB / 1.466 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.289e-05/1.336, allocations: 0 / 1.466 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.336, allocations: 393.1 kB / 1.466 GB, free: 0.9688 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009774/1.337, allocations: 0.756 MB / 1.467 GB, free: 496 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/1.338, allocations: 1.077 MB / 1.468 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/1.34, allocations: 1.024 MB / 1.469 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.34, allocations: 0 / 1.469 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00641/1.346, allocations: 2.941 MB / 1.472 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001198/1.347, allocations: 3.911 MB / 1.476 GB, free: 8.402 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/1.348, allocations: 12 kB / 1.476 GB, free: 8.391 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003689/1.351, allocations: 0.9593 MB / 1.477 GB, free: 7.574 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/1.353, allocations: 390.6 kB / 1.477 GB, free: 7.199 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/1.363, allocations: 8.364 MB / 1.485 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/1.365, allocations: 199.9 kB / 1.486 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/1.365, allocations: 71.91 kB / 1.486 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 7.373e-06/1.365, allocations: 6.5 kB / 1.486 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004481/1.37, allocations: 2.336 MB / 1.488 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/1.37, allocations: 12.44 kB / 1.488 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/1.371, allocations: 0.573 MB / 1.488 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/1.374, allocations: 415.4 kB / 1.489 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00864/1.382, allocations: 8.091 MB / 1.497 GB, free: 3.578 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/1.384, allocations: 187.8 kB / 1.497 GB, free: 3.395 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/1.384, allocations: 67.97 kB / 1.497 GB, free: 3.328 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002883/1.385, allocations: 140.5 kB / 1.497 GB, free: 3.184 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/1.385, allocations: 83.05 kB / 1.497 GB, free: 3.102 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007112/1.392, allocations: 2.995 MB / 1.5 GB, free: 80 kB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/1.392, allocations: 12 kB / 1.5 GB, free: 68 kB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/1.392, allocations: 4 kB / 1.5 GB, free: 64 kB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/1.392, allocations: 3.984 kB / 1.5 GB, free: 60 kB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008846/1.401, allocations: 4.577 MB / 1.505 GB, free: 11.35 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/1.401, allocations: 12.11 kB / 1.505 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/1.402, allocations: 291.6 kB / 1.505 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003859/1.406, allocations: 1.033 MB / 1.506 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/1.406, allocations: 19.97 kB / 1.506 GB, free: 9.988 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01179/1.418, allocations: 9.697 MB / 1.515 GB, free: 15.83 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/1.418, allocations: 15.94 kB / 1.515 GB, free: 15.82 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00616/1.424, allocations: 3.116 MB / 1.518 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006447/1.431, allocations: 3.525 MB / 1.522 GB, free: 8.691 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006308/1.431, allocations: 340 kB / 1.522 GB, free: 8.34 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/1.432, allocations: 11.91 kB / 1.522 GB, free: 8.328 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/1.434, allocations: 223.8 kB / 1.522 GB, free: 8.109 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/1.434, allocations: 72.14 kB / 1.523 GB, free: 8.039 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/1.434, allocations: 43.97 kB / 1.523 GB, free: 7.996 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004702/1.435, allocations: 366.9 kB / 1.523 GB, free: 7.641 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003091/1.438, allocations: 0.5117 MB / 1.523 GB, free: 7.129 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * 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: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002853/1.438, allocations: 135.7 kB / 1.524 GB, free: 6.984 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00697/1.445, allocations: 3.903 MB / 1.527 GB, free: 3.012 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.445, allocations: 0 / 1.527 GB, free: 3.012 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002863/1.448, allocations: 1.537 MB / 1.529 GB, free: 1.438 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006862/1.448, allocations: 113.5 kB / 1.529 GB, free: 1.332 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008884/1.457, allocations: 2.656 MB / 1.532 GB, free: 14.57 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/1.459, allocations: 1.18 MB / 1.533 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of SimCode: time 2.8e-07/1.459, allocations: 0 / 1.533 GB, free: 13.36 MB / 0.9636 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat does not exist to compare? outputFormat=mat