Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",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 7.0.3-maint.7.0.x/package.mo): time 1.237/1.237, allocations: 249.4 MB / 256.7 MB, free: 7.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009528/0.0009529, allocations: 189 kB / 316 MB, free: 3.527 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.131/1.131, allocations: 205.2 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007732/0.0007734, allocations: 79.34 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3294/0.3302, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.4847, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4541/0.9389, allocations: 131.8 MB / 1.013 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001776/0.9391, allocations: 70.39 kB / 1.013 GB, free: 6.695 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00355/0.9427, allocations: 1.205 MB / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.9427, allocations: 10.62 kB / 1.015 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.9428, allocations: 11.91 kB / 1.015 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.9429, allocations: 186.7 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.9429, allocations: 3.938 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.9429, allocations: 4 kB / 1.015 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.473e-05/0.943, allocations: 37.42 kB / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.979e-05/0.9431, allocations: 65.33 kB / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.9431, allocations: 0 / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.9432, allocations: 0 / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.9432, allocations: 3.938 kB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.9437, allocations: 320.6 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.9438, allocations: 71 kB / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.9438, allocations: 24.39 kB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.9439, allocations: 0 / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.9439, allocations: 34.56 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.9439, allocations: 0 / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0001873/0.9441, allocations: 75.02 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.9441, allocations: 55.34 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.903e-05/0.9442, allocations: 108.8 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.9442, allocations: 25.7 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.9443, allocations: 95.97 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.9443, allocations: 19.66 kB / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.9443, allocations: 0 / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.9444, allocations: 318.4 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.312e-05/0.9444, allocations: 15.5 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.093e-05/0.9445, allocations: 19 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.937e-05/0.9445, allocations: 22.67 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.9445, allocations: 4 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001195/0.9447, allocations: 72.59 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.9447, allocations: 4 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.9447, allocations: 0 / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.9447, allocations: 0 / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.9449, allocations: 27.91 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.9449, allocations: 0 / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.389e-05/0.945, allocations: 19.22 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.945, allocations: 3.984 kB / 1.016 GB, free: 3.953 MB / 0.6355 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 (6): * Single equations (assignments): 6 * 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.628e-05/0.945, allocations: 104.1 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.9451, allocations: 7.906 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/0.9451, allocations: 7.438 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.9451, allocations: 4.109 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.9451, allocations: 3.938 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.9451, allocations: 4 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.9453, allocations: 168.9 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9453, allocations: 0 / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.9454, allocations: 19.98 kB / 1.017 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.9454, allocations: 3.938 kB / 1.017 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.9455, allocations: 3.984 kB / 1.017 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.9455, allocations: 4 kB / 1.017 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9455, allocations: 0 / 1.017 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001612/0.9456, allocations: 179.8 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002173/0.9459, allocations: 0.5407 MB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.9459, allocations: 81.02 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.9459, allocations: 4 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.9461, allocations: 12.36 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.9461, allocations: 15.45 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.9461, allocations: 7.984 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.837e-05/0.9462, allocations: 89.66 kB / 1.017 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007548/0.9469, allocations: 15.94 kB / 1.017 GB, free: 2.652 MB / 0.6355 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 (6): * Single equations (assignments): 6 * 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.0001451/0.9471, allocations: 103.2 kB / 1.018 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.9472, allocations: 52.12 kB / 1.018 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9472, allocations: 0 / 1.018 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.887e-05/0.9473, allocations: 31.3 kB / 1.018 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.9475, allocations: 3.938 kB / 1.018 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.9478, allocations: 113.7 kB / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.9481, allocations: 0.7141 MB / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.9481, allocations: 4 kB / 1.018 GB, free: 1.617 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Round.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1)