Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.801/1.801, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009697/0.0009697, allocations: 193.2 kB / 487 MB, free: 5.402 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.144/1.144, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.0008068/0.0008068, allocations: 93.5 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4132/0.414, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.5992, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5057/1.105, allocations: 174.4 MB / 1.376 GB, free: 2.16 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/1.105, allocations: 98.8 kB / 1.376 GB, free: 2.105 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.1147/1.22, allocations: 55.92 MB / 1.43 GB, free: 3.074 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/1.22, allocations: 16 kB / 1.43 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/1.221, allocations: 238.6 kB / 1.431 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008643/1.222, allocations: 0.5484 MB / 1.431 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/1.222, allocations: 24 kB / 1.431 GB, free: 2.273 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-05/1.222, allocations: 43.19 kB / 1.431 GB, free: 2.234 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008941/1.223, allocations: 0.6209 MB / 1.432 GB, free: 1.824 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/1.225, allocations: 1.037 MB / 1.433 GB, free: 0.8555 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/1.225, allocations: 4 kB / 1.433 GB, free: 0.8516 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.525e-05/1.225, allocations: 4 kB / 1.433 GB, free: 0.8477 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-05/1.225, allocations: 61.09 kB / 1.433 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004688/1.229, allocations: 5.796 MB / 1.439 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007647/1.23, allocations: 0.5237 MB / 1.439 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003597/1.231, allocations: 325.9 kB / 1.439 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/1.231, allocations: 4.438 kB / 1.439 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/1.231, allocations: 40.12 kB / 1.439 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 2.806e-06/1.231, allocations: 3.984 kB / 1.439 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.001907/1.233, allocations: 1.188 MB / 1.441 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/1.233, allocations: 55.84 kB / 1.441 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/1.233, allocations: 399 kB / 1.441 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/1.233, allocations: 33.69 kB / 1.441 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/1.233, allocations: 348.8 kB / 1.441 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/1.233, allocations: 159.7 kB / 1.441 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/1.233, allocations: 0 / 1.441 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.234, allocations: 375.2 kB / 1.442 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/1.234, allocations: 259.8 kB / 1.442 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/1.234, allocations: 448.2 kB / 1.443 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/1.235, allocations: 331.1 kB / 1.443 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.235, allocations: 0 / 1.443 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00159/1.236, allocations: 0.9889 MB / 1.444 GB, free: 6.773 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/1.236, allocations: 4 kB / 1.444 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.236, allocations: 8 kB / 1.444 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007766/1.237, allocations: 270.5 kB / 1.444 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/1.238, allocations: 107.5 kB / 1.444 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005098/1.243, allocations: 6.209 MB / 1.45 GB, free: 280 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/1.243, allocations: 15.98 kB / 1.45 GB, free: 264 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/1.243, allocations: 23.56 kB / 1.45 GB, free: 244 kB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/1.243, allocations: 140.5 kB / 1.45 GB, free: 100 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.41e-05/1.244, allocations: 63.25 kB / 1.45 GB, free: 36 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/1.245, allocations: 0.8457 MB / 1.451 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.245, allocations: 8 kB / 1.451 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.245, allocations: 4 kB / 1.451 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.245, allocations: 7.984 kB / 1.451 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/1.247, allocations: 1.598 MB / 1.453 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.247, allocations: 0 / 1.453 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/1.247, allocations: 60.02 kB / 1.453 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000717/1.248, allocations: 261.9 kB / 1.453 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-05/1.248, allocations: 4 kB / 1.453 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005022/1.253, allocations: 6.186 MB / 1.459 GB, free: 7.691 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.253, allocations: 0 / 1.459 GB, free: 7.691 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00132/1.255, allocations: 1.022 MB / 1.46 GB, free: 6.793 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001456/1.256, allocations: 1.404 MB / 1.462 GB, free: 5.516 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/1.256, allocations: 190.8 kB / 1.462 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.1e-05/1.256, allocations: 4 kB / 1.462 GB, free: 5.328 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/1.257, allocations: 19.97 kB / 1.462 GB, free: 5.309 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/1.257, allocations: 19.91 kB / 1.462 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/1.257, allocations: 15.25 kB / 1.462 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0002678/1.257, allocations: 307.7 kB / 1.462 GB, free: 5.055 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001193/1.258, allocations: 188 kB / 1.462 GB, free: 4.871 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001577/1.259, allocations: 123 kB / 1.462 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001608/1.26, allocations: 1.154 MB / 1.464 GB, free: 3.754 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.26, allocations: 0 / 1.464 GB, free: 3.754 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/1.261, allocations: 0.8032 MB / 1.464 GB, free: 3.02 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007509/1.262, allocations: 167.1 kB / 1.464 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/1.264, allocations: 0.9853 MB / 1.465 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006743/1.265, allocations: 1.058 MB / 1.466 GB, free: 0.9141 MB / 0.8855 GB Notification: Performance of SimCode: time 3.01e-07/1.265, allocations: 0 / 1.466 GB, free: 0.9141 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat does not exist to compare? outputFormat=mat