Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.812/1.812, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.0009156/0.0009159, allocations: 180.5 kB / 487 MB, free: 5.41 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.15/1.15, allocations: 221.3 MB / 0.7819 GB, free: 1.402 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.0008788/0.0008788, allocations: 106.9 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4285/0.4294, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.617, allocations: 142.4 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5164/1.133, allocations: 148 MB / 1.35 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001659/1.134, allocations: 68.66 kB / 1.35 GB, free: 15.88 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.002173/1.136, allocations: 0.8736 MB / 1.351 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/1.136, allocations: 9.031 kB / 1.351 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/1.136, allocations: 5.969 kB / 1.351 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.591e-05/1.136, allocations: 167.8 kB / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/1.136, allocations: 0.875 kB / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/1.136, allocations: 1.844 kB / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.354e-05/1.136, allocations: 21.34 kB / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.494e-05/1.136, allocations: 40.39 kB / 1.351 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/1.136, allocations: 4 kB / 1.351 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/1.136, allocations: 1.375 kB / 1.351 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/1.136, allocations: 3.984 kB / 1.351 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/1.137, allocations: 283.9 kB / 1.351 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.677e-05/1.137, allocations: 33.97 kB / 1.351 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/1.137, allocations: 21.67 kB / 1.351 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/1.137, allocations: 1.5 kB / 1.351 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.167e-05/1.137, allocations: 35.34 kB / 1.351 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/1.137, allocations: 0 / 1.351 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.000134/1.137, allocations: 48.33 kB / 1.351 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.313e-05/1.137, allocations: 52.69 kB / 1.351 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.372e-05/1.137, allocations: 97.47 kB / 1.352 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/1.137, allocations: 25.7 kB / 1.352 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.634e-05/1.137, allocations: 90.17 kB / 1.352 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/1.137, allocations: 11.33 kB / 1.352 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/1.137, allocations: 0 / 1.352 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.406e-05/1.137, allocations: 317.1 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-05/1.137, allocations: 8 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/1.137, allocations: 10.31 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.946e-05/1.137, allocations: 6.812 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/1.137, allocations: 7.875 kB / 1.352 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.279e-05/1.137, allocations: 50.36 kB / 1.352 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/1.137, allocations: 8.312 kB / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/1.137, allocations: 3.578 kB / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/1.137, allocations: 0 / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/1.137, allocations: 26.45 kB / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/1.137, allocations: 1.031 kB / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.946e-05/1.137, allocations: 21.81 kB / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/1.137, allocations: 1.031 kB / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 3.591e-05/1.138, allocations: 101.9 kB / 1.352 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/1.138, allocations: 6.25 kB / 1.352 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/1.138, allocations: 8.984 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/1.138, allocations: 1.438 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/1.138, allocations: 3.25 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/1.138, allocations: 2.312 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.701e-05/1.138, allocations: 151.1 kB / 1.352 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/1.138, allocations: 1.312 kB / 1.352 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/1.138, allocations: 27.83 kB / 1.352 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.138, allocations: 3.938 kB / 1.352 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/1.138, allocations: 0 / 1.352 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.138, allocations: 1.375 kB / 1.352 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/1.138, allocations: 0 / 1.352 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.205e-05/1.138, allocations: 146.1 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001027/1.138, allocations: 0.5165 MB / 1.353 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/1.138, allocations: 84.55 kB / 1.353 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/1.138, allocations: 0 / 1.353 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/1.138, allocations: 22.28 kB / 1.353 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/1.138, allocations: 8.766 kB / 1.353 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/1.138, allocations: 9.312 kB / 1.353 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.053e-05/1.138, allocations: 83.94 kB / 1.353 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000739/1.139, allocations: 11.41 kB / 1.353 GB, free: 13.14 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 9.525e-05/1.139, allocations: 99.56 kB / 1.353 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.569e-05/1.139, allocations: 23.08 kB / 1.353 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.139, allocations: 4 kB / 1.353 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.799e-05/1.139, allocations: 12.06 kB / 1.353 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/1.139, allocations: 11.83 kB / 1.353 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/1.14, allocations: 73.53 kB / 1.353 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/1.14, allocations: 0.6965 MB / 1.354 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of SimCode: time 2.4e-07/1.14, allocations: 0 / 1.354 GB, free: 12.27 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat does not exist to compare? outputFormat=mat