Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",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.832/1.832, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.0009946/0.0009947, allocations: 179.9 kB / 490.8 MB, free: 1.953 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.68 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.0008631/0.000863, allocations: 82.73 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4143/0.4152, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.5957, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4948/1.09, allocations: 149.4 MB / 1.358 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001804/1.091, allocations: 68.42 kB / 1.358 GB, free: 17.25 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.005076/1.096, allocations: 1.852 MB / 1.359 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/1.096, allocations: 10.14 kB / 1.359 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/1.096, allocations: 8.656 kB / 1.359 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.39e-05/1.096, allocations: 168.8 kB / 1.36 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/1.096, allocations: 6.141 kB / 1.36 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/1.096, allocations: 4.844 kB / 1.36 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.453e-05/1.096, allocations: 13.22 kB / 1.36 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.881e-05/1.096, allocations: 37.27 kB / 1.36 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/1.096, allocations: 3.5 kB / 1.36 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/1.096, allocations: 0 / 1.36 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/1.096, allocations: 1.188 kB / 1.36 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/1.096, allocations: 276 kB / 1.36 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.308e-05/1.096, allocations: 30.3 kB / 1.36 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/1.097, allocations: 11.48 kB / 1.36 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/1.097, allocations: 0.9375 kB / 1.36 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/1.097, allocations: 54.59 kB / 1.36 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/1.097, allocations: 1.469 kB / 1.36 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001321/1.097, allocations: 51 kB / 1.36 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/1.097, allocations: 53.41 kB / 1.36 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.601e-05/1.097, allocations: 98.05 kB / 1.36 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/1.097, allocations: 35.11 kB / 1.36 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/1.097, allocations: 87.92 kB / 1.36 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.21e-05/1.097, allocations: 5.5 kB / 1.36 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/1.097, allocations: 1.562 kB / 1.36 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.097, allocations: 317.5 kB / 1.361 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.18e-05/1.097, allocations: 25.58 kB / 1.361 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.245e-05/1.097, allocations: 44.34 kB / 1.361 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/1.097, allocations: 39.48 kB / 1.361 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.097, allocations: 0 / 1.361 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000286/1.098, allocations: 121.9 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/1.098, allocations: 7.156 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/1.098, allocations: 5.344 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/1.098, allocations: 2 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.871e-05/1.098, allocations: 7.812 kB / 1.361 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/1.098, allocations: 1.156 kB / 1.361 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/1.098, allocations: 43.27 kB / 1.361 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/1.098, allocations: 6.141 kB / 1.361 GB, free: 31.5 MB / 0.8386 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 ($whenCondition1,$whenCondition2,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 7.038e-05/1.098, allocations: 109.1 kB / 1.361 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/1.098, allocations: 6.609 kB / 1.361 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/1.098, allocations: 5.312 kB / 1.361 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.098, allocations: 9.203 kB / 1.361 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.098, allocations: 3.938 kB / 1.361 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.098, allocations: 5.219 kB / 1.361 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.443e-05/1.098, allocations: 141.5 kB / 1.361 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.098, allocations: 0 / 1.361 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/1.098, allocations: 3.266 kB / 1.361 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/1.098, allocations: 1.406 kB / 1.361 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/1.098, allocations: 3.906 kB / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.098, allocations: 4.031 kB / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.098, allocations: 0 / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.115e-05/1.098, allocations: 84.55 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001816/1.099, allocations: 457.7 kB / 1.362 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/1.099, allocations: 79.41 kB / 1.362 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/1.099, allocations: 1.094 kB / 1.362 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.633e-05/1.099, allocations: 2.25 kB / 1.362 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/1.099, allocations: 2.344 kB / 1.362 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/1.099, allocations: 5.5 kB / 1.362 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.655e-05/1.099, allocations: 89.33 kB / 1.362 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007484/1.099, allocations: 23.89 kB / 1.362 GB, free: 30.52 MB / 0.8386 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 (4): * Single equations (assignments): 3 * 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.0001222/1.1, allocations: 110.4 kB / 1.362 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001547/1.1, allocations: 83.56 kB / 1.362 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.1, allocations: 0 / 1.362 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.729e-05/1.1, allocations: 12.44 kB / 1.362 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/1.1, allocations: 14.48 kB / 1.362 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001623/1.1, allocations: 68.81 kB / 1.362 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/1.1, allocations: 0.6932 MB / 1.363 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.1, allocations: 0 / 1.363 GB, free: 29.62 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat does not exist to compare? outputFormat=mat