Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.443/1.443, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.001152/0.001152, allocations: 177.3 kB / 366.3 MB, free: 1.957 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.111/1.111, allocations: 205.2 MB / 0.6256 GB, free: 5.789 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.0009264/0.0009264, allocations: 90.38 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1992/0.2002, allocations: 122.4 MB / 0.8591 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4648/0.665, allocations: 116.3 MB / 0.9727 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.8116, allocations: 137.7 MB / 1.107 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.8118, allocations: 72.67 kB / 1.107 GB, free: 10.69 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.003926/0.8157, allocations: 1.454 MB / 1.109 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.8158, allocations: 15.94 kB / 1.109 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.8158, allocations: 3.906 kB / 1.109 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.8159, allocations: 170.9 kB / 1.109 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.816, allocations: 0 / 1.109 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.816, allocations: 4 kB / 1.109 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.648e-05/0.8161, allocations: 19.94 kB / 1.109 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.705e-05/0.8161, allocations: 41.69 kB / 1.109 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.8162, allocations: 4 kB / 1.109 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.8162, allocations: 0 / 1.109 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.8162, allocations: 0 / 1.109 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.8166, allocations: 285.4 kB / 1.109 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.692e-05/0.8167, allocations: 34.61 kB / 1.109 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/0.8167, allocations: 16.84 kB / 1.109 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.8168, allocations: 5.594 kB / 1.109 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.8168, allocations: 30.56 kB / 1.109 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8168, allocations: 0 / 1.109 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001629/0.817, allocations: 53.61 kB / 1.109 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.817, allocations: 51.41 kB / 1.109 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.612e-05/0.8171, allocations: 101 kB / 1.109 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.8171, allocations: 25.7 kB / 1.109 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.8172, allocations: 84.14 kB / 1.11 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.8172, allocations: 15.75 kB / 1.11 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.8172, allocations: 0 / 1.11 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.8173, allocations: 318.8 kB / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.143e-05/0.8173, allocations: 8 kB / 1.11 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.03e-05/0.8173, allocations: 8 kB / 1.11 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.164e-05/0.8174, allocations: 7.938 kB / 1.11 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.8174, allocations: 0 / 1.11 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.471e-05/0.8175, allocations: 57.59 kB / 1.11 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.8175, allocations: 4 kB / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.8175, allocations: 5.406 kB / 1.11 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.8175, allocations: 0 / 1.11 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.8177, allocations: 23.98 kB / 1.11 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.8177, allocations: 0 / 1.11 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.872e-05/0.8178, allocations: 30.55 kB / 1.11 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.8178, allocations: 0 / 1.11 GB, free: 7.668 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 (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 5.71e-05/0.8179, allocations: 108.9 kB / 1.11 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.8179, allocations: 3.906 kB / 1.11 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.8179, allocations: 12 kB / 1.11 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.8179, allocations: 4 kB / 1.11 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.818, allocations: 0 / 1.11 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.818, allocations: 0 / 1.11 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.8181, allocations: 142.1 kB / 1.11 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.8181, allocations: 5.781 kB / 1.11 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.8182, allocations: 35.91 kB / 1.11 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.8182, allocations: 0 / 1.11 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.8182, allocations: 0 / 1.11 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.8183, allocations: 0 / 1.11 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8183, allocations: 0 / 1.11 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001224/0.8184, allocations: 147.5 kB / 1.11 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002336/0.8186, allocations: 0.5233 MB / 1.111 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.8187, allocations: 81.02 kB / 1.111 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.8187, allocations: 4 kB / 1.111 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.8188, allocations: 23.91 kB / 1.111 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.8189, allocations: 4 kB / 1.111 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.8189, allocations: 4 kB / 1.111 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.566e-05/0.8189, allocations: 83.28 kB / 1.111 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007398/0.8197, allocations: 11.98 kB / 1.111 GB, free: 6.379 MB / 0.7136 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 0.0001094/0.8198, allocations: 95.25 kB / 1.111 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.788e-05/0.8199, allocations: 20 kB / 1.111 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8199, allocations: 0 / 1.111 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.165e-05/0.8199, allocations: 20 kB / 1.111 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.8201, allocations: 9.953 kB / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.8203, allocations: 79.7 kB / 1.111 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.8206, allocations: 0.6954 MB / 1.112 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.8206, allocations: 0 / 1.112 GB, free: 5.414 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)