Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.453/1.453, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.001107/0.001107, allocations: 169.3 kB / 366.3 MB, free: 1.988 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.298/1.298, allocations: 205.1 MB / 0.6256 GB, free: 5.805 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.000872/0.0008719, allocations: 97.22 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2764/0.2773, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7249/1.002, allocations: 116.3 MB / 0.9727 GB, free: 68.6 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1901/1.192, allocations: 138.5 MB / 1.108 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/1.193, allocations: 88.61 kB / 1.108 GB, free: 9.879 MB / 0.7136 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.004363/1.197, allocations: 1.467 MB / 1.109 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/1.197, allocations: 9.125 kB / 1.109 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/1.197, allocations: 4 kB / 1.109 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/1.197, allocations: 183 kB / 1.11 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/1.198, allocations: 0 / 1.11 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/1.198, allocations: 0 / 1.11 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.093e-05/1.198, allocations: 23.98 kB / 1.11 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.75e-05/1.198, allocations: 49.55 kB / 1.11 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/1.198, allocations: 11.97 kB / 1.11 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/1.198, allocations: 0.5625 kB / 1.11 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/1.198, allocations: 0 / 1.11 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/1.198, allocations: 273.4 kB / 1.11 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.823e-05/1.198, allocations: 30.58 kB / 1.11 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.432e-05/1.198, allocations: 19.45 kB / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/1.198, allocations: 0 / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/1.198, allocations: 31.12 kB / 1.11 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.545e-06/1.198, allocations: 0 / 1.11 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001814/1.199, allocations: 65.62 kB / 1.11 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/1.199, allocations: 51.41 kB / 1.11 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.203e-05/1.199, allocations: 106 kB / 1.11 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/1.199, allocations: 25.7 kB / 1.11 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/1.199, allocations: 88.08 kB / 1.11 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/1.199, allocations: 11.81 kB / 1.11 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/1.199, allocations: 1.031 kB / 1.11 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.199, allocations: 318.8 kB / 1.111 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/1.199, allocations: 12 kB / 1.111 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.084e-05/1.199, allocations: 12 kB / 1.111 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.024e-05/1.199, allocations: 12 kB / 1.111 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.199, allocations: 0 / 1.111 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001159/1.199, allocations: 65.53 kB / 1.111 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/1.199, allocations: 4 kB / 1.111 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.199, allocations: 0 / 1.111 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/1.199, allocations: 0 / 1.111 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/1.199, allocations: 19.98 kB / 1.111 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/1.199, allocations: 1.406 kB / 1.111 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.282e-05/1.199, allocations: 12 kB / 1.111 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/1.2, allocations: 3.906 kB / 1.111 GB, free: 6.82 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 6.967e-05/1.2, allocations: 109 kB / 1.111 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/1.2, allocations: 3.906 kB / 1.111 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/1.2, allocations: 65.62 kB / 1.111 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/1.2, allocations: 0 / 1.111 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.2, allocations: 0 / 1.111 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.2, allocations: 0 / 1.111 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/1.2, allocations: 142.2 kB / 1.111 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/1.2, allocations: 0 / 1.111 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/1.2, allocations: 15.98 kB / 1.111 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/1.2, allocations: 4 kB / 1.111 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/1.2, allocations: 7.906 kB / 1.111 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/1.2, allocations: 0 / 1.111 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.2, allocations: 1.875 kB / 1.111 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001727/1.2, allocations: 167.5 kB / 1.111 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002693/1.201, allocations: 0.5487 MB / 1.112 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/1.201, allocations: 85.02 kB / 1.112 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/1.201, allocations: 4.172 kB / 1.112 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/1.201, allocations: 20.02 kB / 1.112 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/1.201, allocations: 4 kB / 1.112 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/1.201, allocations: 0 / 1.112 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.57e-05/1.201, allocations: 91.27 kB / 1.112 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000752/1.202, allocations: 16 kB / 1.112 GB, free: 5.438 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.0001397/1.202, allocations: 99.25 kB / 1.112 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.348e-05/1.202, allocations: 29.06 kB / 1.112 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/1.202, allocations: 0 / 1.112 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-05/1.202, allocations: 11.98 kB / 1.112 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/1.202, allocations: 12.42 kB / 1.112 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/1.202, allocations: 88.31 kB / 1.112 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/1.203, allocations: 0.6993 MB / 1.113 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/1.203, allocations: 0 / 1.113 GB, free: 4.445 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)