Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",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.805/1.805, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.0009554/0.0009556, allocations: 173.3 kB / 487 MB, free: 5.379 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.149/1.149, allocations: 221.3 MB / 0.7819 GB, free: 1.402 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.0008641/0.0008641, allocations: 97.86 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4222/0.4231, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.6122, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5462/1.158, allocations: 169.1 MB / 1.37 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/1.159, allocations: 92.44 kB / 1.371 GB, free: 7.457 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.02635/1.185, allocations: 13.54 MB / 1.384 GB, free: 12.02 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/1.185, allocations: 9 kB / 1.384 GB, free: 12.02 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000547/1.186, allocations: 71.64 kB / 1.384 GB, free: 11.95 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/1.186, allocations: 228.3 kB / 1.384 GB, free: 11.69 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/1.186, allocations: 4 kB / 1.384 GB, free: 11.69 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/1.186, allocations: 15.98 kB / 1.384 GB, free: 11.67 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002569/1.186, allocations: 158.3 kB / 1.384 GB, free: 11.56 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003748/1.187, allocations: 260.5 kB / 1.384 GB, free: 11.32 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/1.187, allocations: 4 kB / 1.384 GB, free: 11.32 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/1.187, allocations: 4 kB / 1.384 GB, free: 11.32 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/1.187, allocations: 20.12 kB / 1.385 GB, free: 11.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/1.188, allocations: 1.61 MB / 1.386 GB, free: 9.668 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.075e-05/1.188, allocations: 71.5 kB / 1.386 GB, free: 9.586 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.943e-05/1.188, allocations: 48.94 kB / 1.386 GB, free: 9.543 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/1.188, allocations: 7.984 kB / 1.386 GB, free: 9.535 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/1.188, allocations: 34.56 kB / 1.386 GB, free: 9.492 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/1.188, allocations: 0 / 1.386 GB, free: 9.492 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0004078/1.189, allocations: 177.8 kB / 1.386 GB, free: 9.328 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/1.189, allocations: 81.05 kB / 1.386 GB, free: 9.23 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/1.189, allocations: 194.2 kB / 1.387 GB, free: 9.059 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/1.189, allocations: 25.7 kB / 1.387 GB, free: 9.027 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/1.189, allocations: 165.4 kB / 1.387 GB, free: 8.871 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/1.189, allocations: 27.58 kB / 1.387 GB, free: 8.848 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/1.189, allocations: 0 / 1.387 GB, free: 8.848 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/1.189, allocations: 325.2 kB / 1.387 GB, free: 8.527 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.045e-05/1.189, allocations: 72.16 kB / 1.387 GB, free: 8.48 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/1.19, allocations: 159.1 kB / 1.387 GB, free: 8.312 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/1.19, allocations: 107 kB / 1.388 GB, free: 8.238 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/1.19, allocations: 4 kB / 1.388 GB, free: 8.234 MB / 0.823 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004065/1.19, allocations: 264.9 kB / 1.388 GB, free: 8.02 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004304/1.191, allocations: 1.13 MB / 1.389 GB, free: 6.82 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.191, allocations: 4 kB / 1.389 GB, free: 6.816 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/1.191, allocations: 4 kB / 1.389 GB, free: 6.812 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/1.191, allocations: 51.81 kB / 1.389 GB, free: 6.762 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/1.191, allocations: 19.86 kB / 1.389 GB, free: 6.742 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/1.191, allocations: 11.98 kB / 1.389 GB, free: 6.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/1.191, allocations: 14.94 kB / 1.389 GB, free: 6.719 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.65e-06/1.191, allocations: 4 kB / 1.389 GB, free: 6.715 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003001/1.192, allocations: 189.3 kB / 1.389 GB, free: 6.57 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/1.192, allocations: 8.062 kB / 1.389 GB, free: 6.562 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.389e-06/1.192, allocations: 4 kB / 1.389 GB, free: 6.559 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/1.192, allocations: 47.42 kB / 1.389 GB, free: 6.516 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/1.192, allocations: 11.92 kB / 1.389 GB, free: 6.504 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/1.192, allocations: 7.906 kB / 1.389 GB, free: 6.496 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/1.192, allocations: 8 kB / 1.389 GB, free: 6.488 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 7.321e-05/1.192, allocations: 116.7 kB / 1.389 GB, free: 6.371 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/1.192, allocations: 15.81 kB / 1.389 GB, free: 6.355 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/1.192, allocations: 114.9 kB / 1.389 GB, free: 6.254 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/1.192, allocations: 0 / 1.389 GB, free: 6.254 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.192, allocations: 4.125 kB / 1.389 GB, free: 6.25 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.192, allocations: 7.938 kB / 1.389 GB, free: 6.242 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005917/1.193, allocations: 0.5832 MB / 1.39 GB, free: 5.645 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.193, allocations: 0 / 1.39 GB, free: 5.645 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.262e-05/1.193, allocations: 15.98 kB / 1.39 GB, free: 5.629 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.193, allocations: 4 kB / 1.39 GB, free: 5.625 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/1.193, allocations: 7.906 kB / 1.39 GB, free: 5.617 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.193, allocations: 0 / 1.39 GB, free: 5.617 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.193, allocations: 7.938 kB / 1.39 GB, free: 5.609 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002369/1.193, allocations: 335.8 kB / 1.39 GB, free: 5.23 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003563/1.194, allocations: 0.7083 MB / 1.391 GB, free: 4.469 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/1.194, allocations: 107.4 kB / 1.391 GB, free: 4.352 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/1.194, allocations: 4 kB / 1.391 GB, free: 4.348 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/1.194, allocations: 7.984 kB / 1.391 GB, free: 4.34 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/1.194, allocations: 7.906 kB / 1.391 GB, free: 4.332 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/1.194, allocations: 8 kB / 1.391 GB, free: 4.324 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001369/1.194, allocations: 161.5 kB / 1.391 GB, free: 4.191 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001511/1.196, allocations: 82.31 kB / 1.391 GB, free: 4.117 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001421/1.196, allocations: 119.2 kB / 1.392 GB, free: 3.992 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003335/1.196, allocations: 261.7 kB / 1.392 GB, free: 3.801 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.196, allocations: 0.5625 kB / 1.392 GB, free: 3.801 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.011e-05/1.196, allocations: 45.17 kB / 1.392 GB, free: 3.766 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/1.196, allocations: 34.34 kB / 1.392 GB, free: 3.738 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/1.197, allocations: 273.6 kB / 1.392 GB, free: 3.461 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/1.197, allocations: 0.7653 MB / 1.393 GB, free: 2.672 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/1.197, allocations: 0 / 1.393 GB, free: 2.672 MB / 0.823 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat