Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.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.Feedback,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Feedback",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Feedback",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.419/1.419, allocations: 289.8 MB / 297.1 MB, free: 12.6 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 183.3 kB / 366.3 MB, free: 11.93 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.1/1.1, allocations: 205.1 MB / 0.6256 GB, free: 2 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008141/0.0008141, allocations: 86.84 kB / 0.7395 GB, free: 47.12 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 0.1925/0.1933, allocations: 122.4 MB / 0.8591 GB, free: 7.047 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.459/0.6524, allocations: 116.3 MB / 0.9727 GB, free: 81.55 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1405/0.7929, allocations: 137.7 MB / 1.107 GB, free: 6.324 MB / 0.7058 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.7932, allocations: 67.95 kB / 1.107 GB, free: 6.258 MB / 0.7058 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.002466/0.7957, allocations: 0.8782 MB / 1.108 GB, free: 5.371 MB / 0.7058 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.7957, allocations: 8 kB / 1.108 GB, free: 5.363 MB / 0.7058 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.7957, allocations: 7.906 kB / 1.108 GB, free: 5.355 MB / 0.7058 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.567e-05/0.7958, allocations: 174.9 kB / 1.108 GB, free: 5.145 MB / 0.7058 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.7959, allocations: 4 kB / 1.108 GB, free: 5.141 MB / 0.7058 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.7959, allocations: 0.9375 kB / 1.108 GB, free: 5.141 MB / 0.7058 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.896e-05/0.796, allocations: 16.75 kB / 1.108 GB, free: 5.125 MB / 0.7058 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.824e-05/0.796, allocations: 37.7 kB / 1.108 GB, free: 5.082 MB / 0.7058 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.796, allocations: 0 / 1.108 GB, free: 5.082 MB / 0.7058 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.7961, allocations: 7.984 kB / 1.108 GB, free: 5.074 MB / 0.7058 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.7961, allocations: 0 / 1.108 GB, free: 5.074 MB / 0.7058 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.7965, allocations: 289.3 kB / 1.109 GB, free: 4.754 MB / 0.7058 GB Notification: Performance of preOpt comSubExp (simulation): time 6.729e-05/0.7966, allocations: 38.52 kB / 1.109 GB, free: 4.707 MB / 0.7058 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.7966, allocations: 18.48 kB / 1.109 GB, free: 4.688 MB / 0.7058 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.7967, allocations: 7.281 kB / 1.109 GB, free: 4.684 MB / 0.7058 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.7967, allocations: 30.56 kB / 1.109 GB, free: 4.645 MB / 0.7058 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.7967, allocations: 0 / 1.109 GB, free: 4.645 MB / 0.7058 GB Notification: Performance of matching and sorting (n=3): time 0.0001513/0.7969, allocations: 57.69 kB / 1.109 GB, free: 4.582 MB / 0.7058 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.7969, allocations: 55.41 kB / 1.109 GB, free: 4.516 MB / 0.7058 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.97e-05/0.797, allocations: 93 kB / 1.109 GB, free: 4.418 MB / 0.7058 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.797, allocations: 29.7 kB / 1.109 GB, free: 4.383 MB / 0.7058 GB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.797, allocations: 80.14 kB / 1.109 GB, free: 4.301 MB / 0.7058 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.797, allocations: 15.8 kB / 1.109 GB, free: 4.285 MB / 0.7058 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.797, allocations: 0 / 1.109 GB, free: 4.285 MB / 0.7058 GB Notification: Performance of setup shared object (initialization): time 8.549e-05/0.7971, allocations: 318.8 kB / 1.109 GB, free: 3.965 MB / 0.7058 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.218e-05/0.7972, allocations: 12 kB / 1.109 GB, free: 3.953 MB / 0.7058 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.921e-05/0.7972, allocations: 8 kB / 1.109 GB, free: 3.945 MB / 0.7058 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.994e-05/0.7972, allocations: 5.312 kB / 1.109 GB, free: 3.941 MB / 0.7058 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.7972, allocations: 0 / 1.109 GB, free: 3.941 MB / 0.7058 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.202e-05/0.7973, allocations: 57.59 kB / 1.109 GB, free: 3.879 MB / 0.7058 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.7973, allocations: 4 kB / 1.109 GB, free: 3.875 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.7973, allocations: 0 / 1.109 GB, free: 3.875 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.7973, allocations: 0 / 1.109 GB, free: 3.875 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.7975, allocations: 31.91 kB / 1.109 GB, free: 3.844 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.7975, allocations: 0 / 1.109 GB, free: 3.844 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.256e-05/0.7976, allocations: 23.98 kB / 1.109 GB, free: 3.82 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.7976, allocations: 0 / 1.109 GB, free: 3.82 MB / 0.7058 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.483e-05/0.7977, allocations: 102.6 kB / 1.109 GB, free: 3.715 MB / 0.7058 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.7977, allocations: 7.906 kB / 1.11 GB, free: 3.707 MB / 0.7058 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.7978, allocations: 8 kB / 1.11 GB, free: 3.688 MB / 0.7058 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.7978, allocations: 3.938 kB / 1.11 GB, free: 3.684 MB / 0.7058 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.7978, allocations: 1.5 kB / 1.11 GB, free: 3.684 MB / 0.7058 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7978, allocations: 0 / 1.11 GB, free: 3.684 MB / 0.7058 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.7979, allocations: 151.1 kB / 1.11 GB, free: 3.5 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.7979, allocations: 0 / 1.11 GB, free: 3.5 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.798, allocations: 23.98 kB / 1.11 GB, free: 3.477 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.798, allocations: 0 / 1.11 GB, free: 3.477 MB / 0.7058 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.798, allocations: 0 / 1.11 GB, free: 3.477 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.7981, allocations: 0 / 1.11 GB, free: 3.477 MB / 0.7058 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.7981, allocations: 4 kB / 1.11 GB, free: 3.473 MB / 0.7058 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001123/0.7982, allocations: 152.7 kB / 1.11 GB, free: 3.309 MB / 0.7058 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002092/0.7984, allocations: 0.5154 MB / 1.11 GB, free: 2.773 MB / 0.7058 GB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.7984, allocations: 85.02 kB / 1.11 GB, free: 2.672 MB / 0.7058 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.7985, allocations: 0 / 1.11 GB, free: 2.672 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.7986, allocations: 23.97 kB / 1.11 GB, free: 2.648 MB / 0.7058 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.7986, allocations: 0 / 1.11 GB, free: 2.648 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.7986, allocations: 4 kB / 1.11 GB, free: 2.645 MB / 0.7058 GB Notification: Performance of sort global known variables: time 3.348e-05/0.7987, allocations: 87.62 kB / 1.111 GB, free: 2.562 MB / 0.7058 GB Notification: Performance of remove unused functions: time 0.000806/0.7995, allocations: 11.94 kB / 1.111 GB, free: 2.551 MB / 0.7058 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.0001054/0.7996, allocations: 103.2 kB / 1.111 GB, free: 2.441 MB / 0.7058 GB Notification: Performance of simCode: created initialization part: time 7.873e-05/0.7997, allocations: 20.28 kB / 1.111 GB, free: 2.422 MB / 0.7058 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7997, allocations: 4 kB / 1.111 GB, free: 2.418 MB / 0.7058 GB Notification: Performance of simCode: created simulation system equations: time 2.968e-05/0.7997, allocations: 15.94 kB / 1.111 GB, free: 2.402 MB / 0.7058 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.7999, allocations: 3.906 kB / 1.111 GB, free: 2.398 MB / 0.7058 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.8001, allocations: 80.58 kB / 1.111 GB, free: 2.297 MB / 0.7058 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.8004, allocations: 0.7002 MB / 1.111 GB, free: 1.574 MB / 0.7058 GB Notification: Performance of SimCode: time 2.5e-07/0.8004, allocations: 0 / 1.111 GB, free: 1.574 MB / 0.7058 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Feedback_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Feedback.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe 2>&1)