Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",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.813/1.813, allocations: 390.4 MB / 397.7 MB, free: 11.3 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.0009396/0.0009395, allocations: 197.2 kB / 490.8 MB, free: 1.93 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.135/1.135, allocations: 221.3 MB / 0.7863 GB, free: 13.8 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.0008185/0.0008185, allocations: 95.03 kB / 0.9264 GB, free: 14.34 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4203/0.4212, allocations: 149.1 MB / 1.072 GB, free: 164.6 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.6091, allocations: 143 MB / 1.212 GB, free: 21.84 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5078/1.117, allocations: 149.6 MB / 1.358 GB, free: 3.324 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/1.117, allocations: 71.67 kB / 1.358 GB, free: 3.289 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.005042/1.122, allocations: 1.869 MB / 1.36 GB, free: 1.629 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/1.122, allocations: 11.94 kB / 1.36 GB, free: 1.617 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/1.122, allocations: 7.906 kB / 1.36 GB, free: 1.609 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/1.122, allocations: 184.5 kB / 1.36 GB, free: 1.395 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/1.122, allocations: 0 / 1.36 GB, free: 1.395 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/1.122, allocations: 11.91 kB / 1.36 GB, free: 1.383 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.709e-05/1.123, allocations: 7.812 kB / 1.36 GB, free: 1.379 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.843e-05/1.123, allocations: 42.19 kB / 1.36 GB, free: 1.336 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/1.123, allocations: 3.938 kB / 1.36 GB, free: 1.332 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/1.123, allocations: 0 / 1.36 GB, free: 1.332 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/1.123, allocations: 0 / 1.36 GB, free: 1.332 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/1.123, allocations: 281.5 kB / 1.36 GB, free: 1.039 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.547e-05/1.123, allocations: 22.08 kB / 1.36 GB, free: 1.012 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.408e-05/1.123, allocations: 4.859 kB / 1.36 GB, free: 1.004 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-06/1.123, allocations: 4.062 kB / 1.36 GB, free: 1 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/1.123, allocations: 52.03 kB / 1.36 GB, free: 0.9414 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/1.123, allocations: 0 / 1.36 GB, free: 0.9414 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001238/1.123, allocations: 57.16 kB / 1.36 GB, free: 0.8828 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/1.123, allocations: 51.41 kB / 1.36 GB, free: 0.8203 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.196e-05/1.123, allocations: 99.98 kB / 1.36 GB, free: 0.7227 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/1.123, allocations: 29.7 kB / 1.361 GB, free: 0.6875 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/1.123, allocations: 92.03 kB / 1.361 GB, free: 0.5938 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/1.123, allocations: 7.844 kB / 1.361 GB, free: 0.5898 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/1.123, allocations: 4 kB / 1.361 GB, free: 0.5859 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.974e-05/1.123, allocations: 310.8 kB / 1.361 GB, free: 280 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/1.124, allocations: 30.61 kB / 1.361 GB, free: 260 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.321e-05/1.124, allocations: 40.95 kB / 1.361 GB, free: 220 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/1.124, allocations: 43.11 kB / 1.361 GB, free: 184 kB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.124, allocations: 0 / 1.361 GB, free: 184 kB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002703/1.124, allocations: 114.6 kB / 1.361 GB, free: 80 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.158e-06/1.124, allocations: 4 kB / 1.361 GB, free: 76 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/1.124, allocations: 0.9375 kB / 1.361 GB, free: 76 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/1.124, allocations: 3.906 kB / 1.361 GB, free: 72 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.265e-05/1.124, allocations: 7.938 kB / 1.361 GB, free: 64 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/1.124, allocations: 0.5 kB / 1.361 GB, free: 64 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/1.124, allocations: 43.94 kB / 1.361 GB, free: 20 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/1.124, allocations: 7.984 kB / 1.361 GB, free: 12 kB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.248e-05/1.124, allocations: 105 kB / 1.361 GB, free: 15.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/1.124, allocations: 3.906 kB / 1.361 GB, free: 15.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/1.124, allocations: 11.5 kB / 1.361 GB, free: 15.89 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.124, allocations: 5.062 kB / 1.361 GB, free: 15.89 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/1.124, allocations: 3.938 kB / 1.361 GB, free: 15.88 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/1.124, allocations: 0 / 1.361 GB, free: 15.88 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.991e-05/1.125, allocations: 137.7 kB / 1.361 GB, free: 15.71 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/1.125, allocations: 0 / 1.361 GB, free: 15.71 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-06/1.125, allocations: 4 kB / 1.361 GB, free: 15.71 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/1.125, allocations: 3.906 kB / 1.361 GB, free: 15.71 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/1.125, allocations: 0.6875 kB / 1.361 GB, free: 15.71 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/1.125, allocations: 0 / 1.361 GB, free: 15.71 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.125, allocations: 4 kB / 1.361 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.622e-05/1.125, allocations: 76.03 kB / 1.362 GB, free: 15.62 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001544/1.125, allocations: 452.6 kB / 1.362 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/1.125, allocations: 81.02 kB / 1.362 GB, free: 15.06 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/1.125, allocations: 0.5625 kB / 1.362 GB, free: 15.06 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.51e-05/1.125, allocations: 8 kB / 1.362 GB, free: 15.05 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/1.125, allocations: 0 / 1.362 GB, free: 15.05 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/1.125, allocations: 0.5 kB / 1.362 GB, free: 15.05 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.007e-05/1.125, allocations: 87.08 kB / 1.362 GB, free: 14.97 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007354/1.126, allocations: 23.91 kB / 1.362 GB, free: 14.95 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001228/1.126, allocations: 111.3 kB / 1.362 GB, free: 14.83 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001295/1.126, allocations: 75 kB / 1.362 GB, free: 14.77 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/1.126, allocations: 192 / 1.362 GB, free: 14.77 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.12e-05/1.126, allocations: 15.5 kB / 1.362 GB, free: 14.76 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/1.126, allocations: 7.984 kB / 1.362 GB, free: 14.75 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001682/1.126, allocations: 74.39 kB / 1.362 GB, free: 14.66 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/1.127, allocations: 0.6954 MB / 1.363 GB, free: 13.94 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/1.127, allocations: 0 / 1.363 GB, free: 13.94 MB / 0.823 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat does not exist to compare? outputFormat=mat