Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.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.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.754/1.754, allocations: 390.4 MB / 397.7 MB, free: 10.69 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.001077/0.001077, allocations: 180 kB / 490.8 MB, free: 11.22 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.118/1.118, allocations: 221.4 MB / 0.7863 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008314/0.0008314, allocations: 99.3 kB / 0.9264 GB, free: 4.551 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.235/0.2359, allocations: 149.2 MB / 1.072 GB, free: 15.48 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5141/0.7501, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.8914, allocations: 153.3 MB / 1.361 GB, free: 38.29 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001776/0.8916, allocations: 79.95 kB / 1.361 GB, free: 38.21 MB / 0.8855 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.02412/0.9158, allocations: 11.18 MB / 1.372 GB, free: 27.08 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.9158, allocations: 12.64 kB / 1.372 GB, free: 27.07 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.411e-05/0.9159, allocations: 31.62 kB / 1.372 GB, free: 27.04 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005391/0.9164, allocations: 401.4 kB / 1.373 GB, free: 26.61 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.9165, allocations: 11.91 kB / 1.373 GB, free: 26.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.9165, allocations: 5 kB / 1.373 GB, free: 26.59 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001119/0.9166, allocations: 55.97 kB / 1.373 GB, free: 26.54 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.9167, allocations: 94.64 kB / 1.373 GB, free: 26.44 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.9168, allocations: 2.625 kB / 1.373 GB, free: 26.44 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.9168, allocations: 4 kB / 1.373 GB, free: 26.44 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.9168, allocations: 0.5 kB / 1.373 GB, free: 26.44 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.9173, allocations: 495.3 kB / 1.373 GB, free: 25.92 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.9175, allocations: 126.7 kB / 1.374 GB, free: 25.79 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.37e-05/0.9176, allocations: 42.27 kB / 1.374 GB, free: 25.75 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.9176, allocations: 7.891 kB / 1.374 GB, free: 25.74 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.9177, allocations: 96.22 kB / 1.374 GB, free: 25.63 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/0.9177, allocations: 0.5938 kB / 1.374 GB, free: 25.63 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0002507/0.918, allocations: 145.3 kB / 1.374 GB, free: 25.48 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.918, allocations: 55.95 kB / 1.374 GB, free: 25.42 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/0.9184, allocations: 458.9 kB / 1.374 GB, free: 24.96 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.9184, allocations: 25.7 kB / 1.374 GB, free: 24.93 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.9185, allocations: 129.3 kB / 1.375 GB, free: 24.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.9185, allocations: 35.75 kB / 1.375 GB, free: 24.77 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/0.9185, allocations: 0.7812 kB / 1.375 GB, free: 24.77 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.835e-05/0.9186, allocations: 354.7 kB / 1.375 GB, free: 24.41 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.9187, allocations: 109.1 kB / 1.375 GB, free: 24.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.9189, allocations: 145 kB / 1.375 GB, free: 24.15 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.9192, allocations: 141.2 kB / 1.375 GB, free: 24.02 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9192, allocations: 4.562 kB / 1.375 GB, free: 24.01 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005301/0.9198, allocations: 358.9 kB / 1.376 GB, free: 23.66 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.9198, allocations: 4.562 kB / 1.376 GB, free: 23.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.9198, allocations: 8.75 kB / 1.376 GB, free: 23.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.9198, allocations: 0 / 1.376 GB, free: 23.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.92, allocations: 56.03 kB / 1.376 GB, free: 23.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.92, allocations: 0 / 1.376 GB, free: 23.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.9202, allocations: 20.41 kB / 1.376 GB, free: 23.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.9202, allocations: 16.83 kB / 1.376 GB, free: 23.56 MB / 0.8855 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.403e-05/0.9203, allocations: 113.4 kB / 1.376 GB, free: 23.44 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.9203, allocations: 40.36 kB / 1.376 GB, free: 23.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.9206, allocations: 173.9 kB / 1.376 GB, free: 23.23 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.9206, allocations: 0 / 1.376 GB, free: 23.23 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.9206, allocations: 1.094 kB / 1.376 GB, free: 23.23 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.9206, allocations: 0 / 1.376 GB, free: 23.23 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.9208, allocations: 282.5 kB / 1.376 GB, free: 22.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9208, allocations: 4.516 kB / 1.376 GB, free: 22.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/0.9209, allocations: 16.5 kB / 1.376 GB, free: 22.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.9209, allocations: 0.6875 kB / 1.376 GB, free: 22.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.9209, allocations: 8.484 kB / 1.376 GB, free: 22.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.921, allocations: 4.625 kB / 1.376 GB, free: 22.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.921, allocations: 0 / 1.376 GB, free: 22.89 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000203/0.9212, allocations: 195.3 kB / 1.377 GB, free: 22.68 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002322/0.9214, allocations: 0.5671 MB / 1.377 GB, free: 22.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.9215, allocations: 121.6 kB / 1.377 GB, free: 21.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.9215, allocations: 3.906 kB / 1.377 GB, free: 21.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.9216, allocations: 8.438 kB / 1.377 GB, free: 21.95 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.9217, allocations: 20.5 kB / 1.377 GB, free: 21.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.9217, allocations: 8.688 kB / 1.377 GB, free: 21.92 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0002206/0.922, allocations: 298 kB / 1.378 GB, free: 21.64 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008114/0.9228, allocations: 75.98 kB / 1.378 GB, free: 21.56 MB / 0.8855 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.0005497/0.9233, allocations: 321.8 kB / 1.378 GB, free: 21.38 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.9236, allocations: 189.4 kB / 1.378 GB, free: 21.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.9236, allocations: 0 / 1.378 GB, free: 21.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.252e-05/0.9237, allocations: 61.39 kB / 1.378 GB, free: 21.14 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.924, allocations: 76.27 kB / 1.378 GB, free: 21.07 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005999/0.9246, allocations: 432.4 kB / 1.379 GB, free: 20.62 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.9249, allocations: 0.8244 MB / 1.379 GB, free: 19.77 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.9249, allocations: 0.875 kB / 1.379 GB, free: 19.77 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1)