Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative",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 8.0.1-maint.8.0.x/package.mo): time 1.383/1.383, allocations: 285.5 MB / 292.8 MB, free: 10.44 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0014/0.0014, allocations: 185.2 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.126/1.126, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008329/0.0008329, allocations: 88.27 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2025/0.2034, allocations: 121.5 MB / 0.8512 GB, free: 2.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4743/0.6777, allocations: 115.3 MB / 0.9638 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.8208, allocations: 137.5 MB / 1.098 GB, free: 2.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.8211, allocations: 85.11 kB / 1.098 GB, free: 2.418 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.004266/0.8254, allocations: 1.481 MB / 1.1 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.8254, allocations: 8.562 kB / 1.1 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.8255, allocations: 4 kB / 1.1 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.8257, allocations: 184.7 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.8257, allocations: 0 / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.8257, allocations: 1.75 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.638e-05/0.8258, allocations: 19.98 kB / 1.1 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.661e-05/0.8259, allocations: 51.55 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.8259, allocations: 3.938 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.826, allocations: 5.578 kB / 1.1 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.826, allocations: 0.75 kB / 1.1 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.8264, allocations: 264.7 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.965e-05/0.8264, allocations: 35.3 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.8265, allocations: 19.45 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.8265, allocations: 0.6875 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.8265, allocations: 31.22 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.124e-06/0.8265, allocations: 1.391 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001605/0.8267, allocations: 58.25 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.8268, allocations: 51.94 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.699e-05/0.8268, allocations: 110.2 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.8269, allocations: 29.75 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.8269, allocations: 88.7 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.827, allocations: 8.531 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.827, allocations: 0 / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.8271, allocations: 323.6 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.542e-05/0.8271, allocations: 8.5 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.067e-05/0.8271, allocations: 12 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.681e-05/0.8272, allocations: 8.625 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.8272, allocations: 0.5 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.668e-05/0.8273, allocations: 66.28 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.8273, allocations: 4 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.8273, allocations: 4 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.8273, allocations: 1.812 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.8274, allocations: 15.98 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.8275, allocations: 4 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/0.8275, allocations: 4 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.8276, allocations: 11.91 kB / 1.101 GB, free: 15.4 MB / 0.7136 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 (5): * Single equations (assignments): 5 * 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 5.512e-05/0.8276, allocations: 101 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.8277, allocations: 8.641 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.8278, allocations: 57.69 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.8278, allocations: 0 / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.8278, allocations: 0 / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8278, allocations: 4.453 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.8279, allocations: 150.2 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.828, allocations: 0 / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.8281, allocations: 19.98 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.8281, allocations: 0 / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.8281, allocations: 9.656 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.8281, allocations: 2.891 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.8281, allocations: 0 / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001685/0.8283, allocations: 164 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002766/0.8286, allocations: 0.5514 MB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.8286, allocations: 85.02 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.8286, allocations: 0 / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-05/0.8287, allocations: 16.02 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.8288, allocations: 4.062 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.8288, allocations: 0.5625 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.238e-05/0.8288, allocations: 94.64 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007562/0.8296, allocations: 11.94 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001386/0.8297, allocations: 99.03 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.683e-05/0.8298, allocations: 24 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.8298, allocations: 0 / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.8299, allocations: 27.92 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.8301, allocations: 7.453 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.8304, allocations: 89.12 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/0.8307, allocations: 0.7014 MB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.8307, allocations: 0 / 1.103 GB, free: 13.04 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)