Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",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 7.0.3-maint.7.0.x/package.mo): time 1.238/1.238, allocations: 249.4 MB / 256.7 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009682/0.0009682, allocations: 189.2 kB / 316 MB, free: 3.527 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.155/1.155, allocations: 205.2 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009354/0.0009355, allocations: 79.39 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3231/0.3241, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.4726, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4494/0.9221, allocations: 131.2 MB / 1.013 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001803/0.9223, allocations: 75.62 kB / 1.013 GB, free: 7.234 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001585/0.9239, allocations: 0.7129 MB / 1.014 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.924, allocations: 11.98 kB / 1.014 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.924, allocations: 8.75 kB / 1.014 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.9242, allocations: 178.5 kB / 1.014 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.9242, allocations: 0 / 1.014 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.9242, allocations: 10.72 kB / 1.014 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.782e-05/0.9243, allocations: 38.61 kB / 1.014 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.046e-05/0.9244, allocations: 69.36 kB / 1.014 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.9244, allocations: 0 / 1.014 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.9244, allocations: 0 / 1.014 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.9244, allocations: 7.984 kB / 1.014 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.9248, allocations: 449.9 kB / 1.014 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.012e-05/0.9249, allocations: 173 kB / 1.015 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.9249, allocations: 82.95 kB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.925, allocations: 79.28 kB / 1.015 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.925, allocations: 109.8 kB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 2.204e-06/0.925, allocations: 3.984 kB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.056e-05/0.9251, allocations: 29.75 kB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.9251, allocations: 55.34 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.626e-05/0.9252, allocations: 112.6 kB / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.9252, allocations: 25.7 kB / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.9253, allocations: 106.4 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-06/0.9253, allocations: 0 / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-06/0.9253, allocations: 0 / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.586e-05/0.9254, allocations: 314.8 kB / 1.015 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.9254, allocations: 11.61 kB / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-06/0.9254, allocations: 4 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.064e-05/0.9254, allocations: 10.61 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.9254, allocations: 0 / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.57e-05/0.9255, allocations: 54.88 kB / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.9256, allocations: 8 kB / 1.015 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.9256, allocations: 3.938 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-06/0.9256, allocations: 0 / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.497e-05/0.9256, allocations: 7.984 kB / 1.015 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.9256, allocations: 0 / 1.015 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.9257, allocations: 4 kB / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.9257, allocations: 0 / 1.015 GB, free: 4.527 MB / 0.6355 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 (1): * Single equations (assignments): 1 * 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 7.582e-05/0.9258, allocations: 180.2 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.9258, allocations: 109 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.9259, allocations: 107.9 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-05/0.9259, allocations: 188.2 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.963e-05/0.926, allocations: 176.3 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.637e-05/0.926, allocations: 176.3 kB / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.9262, allocations: 408.5 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.7e-05/0.9262, allocations: 101 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.9263, allocations: 105 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.645e-05/0.9263, allocations: 180.2 kB / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.861e-05/0.9264, allocations: 176.3 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.551e-05/0.9264, allocations: 176.3 kB / 1.017 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.402e-05/0.9265, allocations: 188.5 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001139/0.9266, allocations: 308.9 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002165/0.9268, allocations: 0.6755 MB / 1.019 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.9269, allocations: 182.1 kB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.877e-05/0.927, allocations: 195.4 kB / 1.019 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.9271, allocations: 105 kB / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.9271, allocations: 176.3 kB / 1.019 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.9272, allocations: 108.9 kB / 1.019 GB, free: 372 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.997e-05/0.9272, allocations: 94.52 kB / 1.019 GB, free: 284 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007698/0.928, allocations: 19.84 kB / 1.019 GB, free: 264 kB / 0.6355 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 (0): * Single equations (assignments): 0 * 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 0.0001433/0.9281, allocations: 174.5 kB / 1.02 GB, free: 80 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.627e-05/0.9282, allocations: 11.84 kB / 1.02 GB, free: 72 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9282, allocations: 0 / 1.02 GB, free: 72 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.9282, allocations: 0 / 1.02 GB, free: 72 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.9285, allocations: 0.528 MB / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002059/0.9287, allocations: 153.7 kB / 1.02 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.929, allocations: 0.7036 MB / 1.021 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of SimCode: time 2.2e-07/0.929, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)