Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",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.764/1.764, allocations: 387.2 MB / 394.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009375/0.0009375, allocations: 186.3 kB / 487 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.125/1.125, allocations: 221.4 MB / 0.7819 GB, free: 6.824 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008579/0.0008579, allocations: 105.6 kB / 0.9213 GB, free: 43.7 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2388/0.2397, allocations: 148.5 MB / 1.066 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5528/0.7925, allocations: 142.3 MB / 1.205 GB, free: 72.86 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1514/0.9439, allocations: 148 MB / 1.35 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/0.9441, allocations: 68.91 kB / 1.35 GB, free: 15.26 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001702/0.9458, allocations: 0.664 MB / 1.351 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.9459, allocations: 8 kB / 1.351 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.9459, allocations: 5.594 kB / 1.351 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.9461, allocations: 171 kB / 1.351 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.9461, allocations: 0 / 1.351 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.9461, allocations: 11.84 kB / 1.351 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.023e-05/0.9461, allocations: 16.48 kB / 1.351 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.404e-05/0.9462, allocations: 38.39 kB / 1.351 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.9462, allocations: 3.438 kB / 1.351 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.9462, allocations: 0.5625 kB / 1.351 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.9463, allocations: 0 / 1.351 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.9466, allocations: 264.6 kB / 1.351 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.111e-05/0.9466, allocations: 18.52 kB / 1.351 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.9467, allocations: 12.92 kB / 1.351 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.9467, allocations: 0 / 1.351 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.9467, allocations: 32.56 kB / 1.351 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.753e-06/0.9467, allocations: 3.984 kB / 1.351 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001135/0.9468, allocations: 41.61 kB / 1.351 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/0.9468, allocations: 55.86 kB / 1.351 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.711e-05/0.9469, allocations: 95.61 kB / 1.351 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.9469, allocations: 25.7 kB / 1.351 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.229e-05/0.9469, allocations: 89.3 kB / 1.351 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.947, allocations: 3.906 kB / 1.351 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.947, allocations: 3.938 kB / 1.351 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.121e-05/0.947, allocations: 311.8 kB / 1.352 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.947, allocations: 8 kB / 1.352 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.076e-05/0.9471, allocations: 4.5 kB / 1.352 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.244e-05/0.9471, allocations: 8.078 kB / 1.352 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.9471, allocations: 0 / 1.352 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.34e-05/0.9471, allocations: 37.7 kB / 1.352 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.9472, allocations: 4 kB / 1.352 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.9472, allocations: 0 / 1.352 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.9472, allocations: 7.906 kB / 1.352 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.329e-05/0.9473, allocations: 11.98 kB / 1.352 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.9473, allocations: 4.594 kB / 1.352 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.605e-05/0.9473, allocations: 4 kB / 1.352 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.9473, allocations: 0 / 1.352 GB, free: 13.16 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.676e-05/0.9474, allocations: 109 kB / 1.352 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.9474, allocations: 3.906 kB / 1.352 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.533e-05/0.9474, allocations: 3.656 kB / 1.352 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-06/0.9474, allocations: 6.906 kB / 1.352 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.9475, allocations: 4 kB / 1.352 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.9475, allocations: 0 / 1.352 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.9476, allocations: 138.9 kB / 1.352 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.9476, allocations: 3.938 kB / 1.352 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/0.9477, allocations: 11.98 kB / 1.352 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.9477, allocations: 0 / 1.352 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-06/0.9477, allocations: 0 / 1.352 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.9477, allocations: 8.469 kB / 1.352 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9477, allocations: 0 / 1.352 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.679e-05/0.9478, allocations: 131.5 kB / 1.352 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001954/0.948, allocations: 0.5038 MB / 1.353 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.948, allocations: 89.72 kB / 1.353 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.948, allocations: 3.906 kB / 1.353 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.378e-05/0.9481, allocations: 8 kB / 1.353 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.9482, allocations: 3.984 kB / 1.353 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.9482, allocations: 0 / 1.353 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.413e-05/0.9482, allocations: 83.84 kB / 1.353 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007564/0.949, allocations: 4 kB / 1.353 GB, free: 11.96 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001052/0.9491, allocations: 103.2 kB / 1.353 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.307e-05/0.9491, allocations: 4 kB / 1.353 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.9491, allocations: 0 / 1.353 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-05/0.9492, allocations: 8 kB / 1.353 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.9493, allocations: 7.984 kB / 1.353 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001747/0.9495, allocations: 74.34 kB / 1.353 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.9497, allocations: 0.6965 MB / 1.354 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of SimCode: time 2.81e-07/0.9498, allocations: 0 / 1.354 GB, free: 11.02 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat does not exist to compare? outputFormat=mat