Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime",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.0/package.mo): time 2.179/2.179, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.001583/0.001582, allocations: 181.3 kB / 360.3 MB, free: 7.531 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.664/1.664, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001207/0.001207, allocations: 87.88 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2433/0.2446, allocations: 121.4 MB / 0.8502 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5529/0.7975, allocations: 115.2 MB / 0.9628 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2003/0.9979, allocations: 136.1 MB / 1.096 GB, free: 4.719 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.9982, allocations: 68.53 kB / 1.096 GB, free: 4.652 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0007192/0.9989, allocations: 351.9 kB / 1.096 GB, free: 4.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.999, allocations: 8 kB / 1.096 GB, free: 4.262 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.999, allocations: 0 / 1.096 GB, free: 4.262 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.9991, allocations: 164.3 kB / 1.096 GB, free: 4.062 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.9992, allocations: 7.844 kB / 1.096 GB, free: 4.055 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.9992, allocations: 4 kB / 1.096 GB, free: 4.051 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.403e-05/0.9992, allocations: 2.062 kB / 1.096 GB, free: 4.051 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.667e-05/0.9993, allocations: 28.67 kB / 1.096 GB, free: 4.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.9993, allocations: 0 / 1.096 GB, free: 4.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.9993, allocations: 0 / 1.096 GB, free: 4.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.9994, allocations: 1.875 kB / 1.096 GB, free: 4.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.9995, allocations: 130.2 kB / 1.096 GB, free: 3.855 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.973e-05/0.9996, allocations: 14.58 kB / 1.096 GB, free: 3.832 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.9996, allocations: 12.73 kB / 1.096 GB, free: 3.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.9996, allocations: 0.7031 kB / 1.096 GB, free: 3.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.9997, allocations: 42.41 kB / 1.097 GB, free: 3.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.432e-06/0.9997, allocations: 2.078 kB / 1.097 GB, free: 3.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.000113/0.9998, allocations: 29.7 kB / 1.097 GB, free: 3.734 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.9999, allocations: 51.41 kB / 1.097 GB, free: 3.672 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.203e-05/0.9999, allocations: 86.28 kB / 1.097 GB, free: 3.582 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/1, allocations: 25.7 kB / 1.097 GB, free: 3.551 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/1, allocations: 80.14 kB / 1.097 GB, free: 3.469 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/1, allocations: 5.172 kB / 1.097 GB, free: 3.465 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/1, allocations: 0 / 1.097 GB, free: 3.465 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1, allocations: 314.8 kB / 1.097 GB, free: 3.148 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/1, allocations: 2.719 kB / 1.097 GB, free: 3.148 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/1, allocations: 0 / 1.097 GB, free: 3.148 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.585e-05/1, allocations: 0 / 1.097 GB, free: 3.148 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1, allocations: 3.906 kB / 1.097 GB, free: 3.145 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.437e-05/1, allocations: 41.64 kB / 1.097 GB, free: 3.098 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1, allocations: 4.656 kB / 1.097 GB, free: 3.094 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/1, allocations: 1.094 kB / 1.097 GB, free: 3.094 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/1, allocations: 0 / 1.097 GB, free: 3.094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.344e-05/1, allocations: 0 / 1.097 GB, free: 3.094 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/1.001, allocations: 6.719 kB / 1.097 GB, free: 3.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/1.001, allocations: 7.891 kB / 1.097 GB, free: 3.086 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/1.001, allocations: 3.984 kB / 1.097 GB, free: 3.082 MB / 0.698 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.259e-05/1.001, allocations: 108.5 kB / 1.097 GB, free: 2.973 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/1.001, allocations: 4.797 kB / 1.097 GB, free: 2.969 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.12e-05/1.001, allocations: 3 kB / 1.097 GB, free: 2.965 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/1.001, allocations: 0.5312 kB / 1.097 GB, free: 2.965 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.001, allocations: 5.719 kB / 1.097 GB, free: 2.961 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.001, allocations: 0 / 1.097 GB, free: 2.961 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.696e-05/1.001, allocations: 122.2 kB / 1.097 GB, free: 2.805 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.001, allocations: 0 / 1.097 GB, free: 2.805 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.393e-05/1.001, allocations: 0 / 1.097 GB, free: 2.805 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/1.001, allocations: 4.641 kB / 1.097 GB, free: 2.801 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/1.001, allocations: 7.906 kB / 1.097 GB, free: 2.793 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/1.001, allocations: 2.469 kB / 1.097 GB, free: 2.793 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.001, allocations: 0 / 1.097 GB, free: 2.793 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.9e-05/1.001, allocations: 59.09 kB / 1.097 GB, free: 2.719 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002113/1.001, allocations: 439.5 kB / 1.098 GB, free: 2.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-05/1.001, allocations: 81.7 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/1.001, allocations: 0.5625 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-06/1.001, allocations: 0 / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/1.001, allocations: 0.7812 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/1.001, allocations: 0 / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.975e-05/1.001, allocations: 75.81 kB / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00103/1.002, allocations: 8.406 kB / 1.098 GB, free: 2.09 MB / 0.698 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 (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 Backend phase and start with SimCode phase: time 0.0001375/1.003, allocations: 100.3 kB / 1.098 GB, free: 1.984 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.29e-05/1.003, allocations: 8.781 kB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.003, allocations: 3.406 kB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.732e-06/1.003, allocations: 0 / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/1.003, allocations: 9.594 kB / 1.098 GB, free: 1.973 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001737/1.003, allocations: 40.08 kB / 1.098 GB, free: 1.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/1.003, allocations: 0.6802 MB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/1.003, allocations: 0 / 1.099 GB, free: 1.203 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe 2>&1)