Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.Integers.Validation.Equal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",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.768/1.768, allocations: 390.4 MB / 397.7 MB, free: 10.71 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.0009831/0.0009832, allocations: 178.6 kB / 490.8 MB, free: 13.27 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.099/1.099, allocations: 221.4 MB / 0.7863 GB, free: 2.672 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.0008433/0.0008433, allocations: 92.97 kB / 0.9264 GB, free: 39.98 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2254/0.2263, allocations: 149.2 MB / 1.072 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4952/0.7215, allocations: 143 MB / 1.212 GB, free: 63.5 MB / 0.7761 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1575/0.879, allocations: 153.4 MB / 1.361 GB, free: 3.523 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.8792, allocations: 68.5 kB / 1.362 GB, free: 3.457 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.02809/0.9073, allocations: 11.18 MB / 1.372 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.9074, allocations: 12 kB / 1.372 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.36e-05/0.9075, allocations: 31.62 kB / 1.372 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006761/0.9081, allocations: 395.5 kB / 1.373 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.9082, allocations: 4 kB / 1.373 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.9082, allocations: 12 kB / 1.373 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001371/0.9084, allocations: 55.97 kB / 1.373 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.9085, allocations: 97.64 kB / 1.373 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.9086, allocations: 3.938 kB / 1.373 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.9086, allocations: 0 / 1.373 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-06/0.9086, allocations: 0 / 1.373 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007242/0.9093, allocations: 492.9 kB / 1.373 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.9095, allocations: 118.9 kB / 1.374 GB, free: 6.938 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.561e-05/0.9096, allocations: 52.75 kB / 1.374 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.9096, allocations: 3.984 kB / 1.374 GB, free: 6.879 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.9098, allocations: 103.4 kB / 1.374 GB, free: 6.766 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.9098, allocations: 0 / 1.374 GB, free: 6.766 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.000318/0.9101, allocations: 150.1 kB / 1.374 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.9102, allocations: 51.41 kB / 1.374 GB, free: 6.551 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005177/0.9107, allocations: 453.9 kB / 1.374 GB, free: 6.098 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.9107, allocations: 29.7 kB / 1.374 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.9108, allocations: 124.3 kB / 1.375 GB, free: 5.938 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.9108, allocations: 35.64 kB / 1.375 GB, free: 5.902 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.9108, allocations: 4 kB / 1.375 GB, free: 5.898 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.911, allocations: 346.7 kB / 1.375 GB, free: 5.551 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.9111, allocations: 116.7 kB / 1.375 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.9113, allocations: 143.2 kB / 1.375 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/0.9117, allocations: 148.6 kB / 1.375 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9117, allocations: 4 kB / 1.375 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006439/0.9124, allocations: 358.1 kB / 1.376 GB, free: 4.777 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.9124, allocations: 7.906 kB / 1.376 GB, free: 4.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.9124, allocations: 0 / 1.376 GB, free: 4.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.9124, allocations: 4 kB / 1.376 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.9127, allocations: 51.91 kB / 1.376 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.9127, allocations: 4 kB / 1.376 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.9128, allocations: 15.91 kB / 1.376 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.9129, allocations: 19.98 kB / 1.376 GB, free: 4.676 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intEqu.u1,intEqu.u2,intEqu.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 8.635e-05/0.913, allocations: 108.9 kB / 1.376 GB, free: 4.562 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.913, allocations: 35.53 kB / 1.376 GB, free: 4.527 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.9133, allocations: 176.6 kB / 1.376 GB, free: 4.352 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.9133, allocations: 4 kB / 1.376 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.9134, allocations: 0 / 1.376 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.9134, allocations: 4 kB / 1.376 GB, free: 4.344 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.9136, allocations: 285.9 kB / 1.376 GB, free: 4.027 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.9136, allocations: 0 / 1.376 GB, free: 4.027 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.095e-05/0.9137, allocations: 12 kB / 1.376 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.9137, allocations: 0 / 1.376 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.9137, allocations: 11.92 kB / 1.376 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.9137, allocations: 0 / 1.376 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9137, allocations: 0 / 1.376 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002571/0.914, allocations: 191.8 kB / 1.377 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003477/0.9144, allocations: 0.5596 MB / 1.377 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.24e-05/0.9145, allocations: 124.7 kB / 1.377 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.9145, allocations: 7.906 kB / 1.377 GB, free: 3.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.9146, allocations: 4 kB / 1.377 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.9147, allocations: 15.97 kB / 1.377 GB, free: 3.051 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.9147, allocations: 8 kB / 1.377 GB, free: 3.043 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002911/0.915, allocations: 312.4 kB / 1.378 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008348/0.9159, allocations: 71.98 kB / 1.378 GB, free: 2.672 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.u1,intEqu.u2,intEqu.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006032/0.9165, allocations: 328.8 kB / 1.378 GB, free: 2.43 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.9168, allocations: 179.9 kB / 1.378 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.9168, allocations: 4.125 kB / 1.378 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.788e-05/0.9169, allocations: 67.58 kB / 1.378 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.9173, allocations: 78.98 kB / 1.378 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007383/0.918, allocations: 427.9 kB / 1.379 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004857/0.9185, allocations: 0.8296 MB / 1.379 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of SimCode: time 2.91e-07/0.9185, allocations: 0 / 1.379 GB, free: 0.8086 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1)