Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.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.Integers.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",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.81/1.81, 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.0009395/0.0009395, allocations: 188.7 kB / 487 MB, free: 5.391 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.149/1.149, allocations: 221.3 MB / 0.7819 GB, free: 1.418 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.0008617/0.0008617, allocations: 98.3 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4318/0.4327, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.6282, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5407/1.169, allocations: 152.5 MB / 1.354 GB, free: 16.12 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/1.169, allocations: 79.41 kB / 1.354 GB, free: 16.12 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.02715/1.196, allocations: 11.18 MB / 1.365 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/1.196, allocations: 8 kB / 1.365 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/1.196, allocations: 31.62 kB / 1.365 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005689/1.197, allocations: 399.4 kB / 1.366 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/1.197, allocations: 11.98 kB / 1.366 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/1.197, allocations: 4 kB / 1.366 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000116/1.197, allocations: 53.86 kB / 1.366 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/1.197, allocations: 107.1 kB / 1.366 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.197, allocations: 3.984 kB / 1.366 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/1.197, allocations: 3.938 kB / 1.366 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.197, allocations: 3.906 kB / 1.366 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/1.198, allocations: 483.7 kB / 1.366 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/1.198, allocations: 121.8 kB / 1.366 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/1.198, allocations: 48.34 kB / 1.366 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/1.198, allocations: 3.75 kB / 1.367 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/1.198, allocations: 101 kB / 1.367 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/1.198, allocations: 0 / 1.367 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0002496/1.199, allocations: 150 kB / 1.367 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.677e-05/1.199, allocations: 55.31 kB / 1.367 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/1.199, allocations: 460.5 kB / 1.367 GB, free: 10 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/1.199, allocations: 25.7 kB / 1.367 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/1.199, allocations: 125.1 kB / 1.367 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/1.199, allocations: 35.3 kB / 1.367 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/1.199, allocations: 224 / 1.367 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.797e-05/1.199, allocations: 347.7 kB / 1.368 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/1.199, allocations: 120.6 kB / 1.368 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/1.199, allocations: 143.2 kB / 1.368 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/1.2, allocations: 143.5 kB / 1.368 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.2, allocations: 0 / 1.368 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005181/1.2, allocations: 356.2 kB / 1.368 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/1.2, allocations: 8 kB / 1.368 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/1.2, allocations: 0 / 1.368 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/1.2, allocations: 0 / 1.368 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/1.201, allocations: 59.84 kB / 1.369 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/1.201, allocations: 4 kB / 1.369 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/1.201, allocations: 15.83 kB / 1.369 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/1.201, allocations: 15.88 kB / 1.369 GB, free: 8.824 MB / 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: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,product.u1,product.u2,product.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 6.054e-05/1.201, allocations: 112.9 kB / 1.369 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/1.201, allocations: 35.53 kB / 1.369 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/1.201, allocations: 176.9 kB / 1.369 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/1.201, allocations: 0 / 1.369 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/1.201, allocations: 3.938 kB / 1.369 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.201, allocations: 4 kB / 1.369 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/1.201, allocations: 277.2 kB / 1.369 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.201, allocations: 0 / 1.369 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.201e-05/1.201, allocations: 19.92 kB / 1.369 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.201, allocations: 4 kB / 1.369 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/1.201, allocations: 0 / 1.369 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.201, allocations: 0 / 1.369 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.201, allocations: 8 kB / 1.369 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001994/1.202, allocations: 190.8 kB / 1.369 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002483/1.202, allocations: 0.5629 MB / 1.37 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/1.202, allocations: 128.1 kB / 1.37 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/1.202, allocations: 7.812 kB / 1.37 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/1.202, allocations: 11.98 kB / 1.37 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/1.202, allocations: 14.91 kB / 1.37 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/1.202, allocations: 4 kB / 1.37 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002225/1.202, allocations: 304.7 kB / 1.37 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008182/1.203, allocations: 71.66 kB / 1.37 GB, free: 7.043 MB / 0.8073 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,product.u1,product.u2,product.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.0005863/1.204, allocations: 337 kB / 1.371 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002388/1.204, allocations: 175.8 kB / 1.371 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/1.204, allocations: 4 kB / 1.371 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.223e-05/1.204, allocations: 62.48 kB / 1.371 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/1.205, allocations: 75.23 kB / 1.371 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000629/1.205, allocations: 422.5 kB / 1.371 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003495/1.206, allocations: 0.8314 MB / 1.372 GB, free: 21.33 MB / 0.823 GB Notification: Performance of SimCode: time 2.81e-07/1.206, allocations: 0 / 1.372 GB, free: 21.33 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1)