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.Modulo.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.Modulo,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.278/1.278, allocations: 249.4 MB / 256.7 MB, free: 7 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.0009458/0.000946, allocations: 179 kB / 316 MB, free: 3.504 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.14/1.14, allocations: 205.2 MB / 0.5667 GB, free: 15.57 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.0008287/0.0008288, allocations: 83.3 kB / 0.671 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3205/0.3214, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.4776, allocations: 106.3 MB / 0.8847 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4608/0.9384, allocations: 131.6 MB / 1.013 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.9386, allocations: 76.38 kB / 1.013 GB, free: 6.828 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00388/0.9425, allocations: 1.473 MB / 1.015 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.9426, allocations: 8 kB / 1.015 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.9426, allocations: 7.906 kB / 1.015 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.9427, allocations: 170.8 kB / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.9427, allocations: 7.938 kB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.9427, allocations: 4 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.71e-05/0.9428, allocations: 18.62 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.645e-05/0.9429, allocations: 47.47 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.9429, allocations: 4 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.9429, allocations: 0 / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.943, allocations: 0 / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.9434, allocations: 287.3 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.355e-05/0.9435, allocations: 41.38 kB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.9435, allocations: 12.67 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.9436, allocations: 7.984 kB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.9436, allocations: 30.56 kB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.9436, allocations: 0 / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001484/0.9438, allocations: 48.42 kB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.9438, allocations: 55.48 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.08e-05/0.9439, allocations: 100.7 kB / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.9439, allocations: 25.7 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.745e-05/0.9439, allocations: 84.14 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.9439, allocations: 15.45 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.9439, allocations: 0 / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.9441, allocations: 310.8 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.253e-05/0.9441, allocations: 10.62 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.922e-05/0.9441, allocations: 11.94 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.087e-05/0.9442, allocations: 11.25 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9442, allocations: 3.906 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.083e-05/0.9442, allocations: 49.19 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.9443, allocations: 8 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.9443, allocations: 0 / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.9443, allocations: 0 / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.9444, allocations: 23.98 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.9445, allocations: 3.984 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.444e-05/0.9446, allocations: 22.45 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.9446, allocations: 4 kB / 1.016 GB, free: 4.023 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 (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 6.187e-05/0.9446, allocations: 105 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.9447, allocations: 3.906 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.9447, allocations: 11.94 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.9447, allocations: 0 / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.9447, allocations: 0 / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.9447, allocations: 0 / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.9449, allocations: 146.1 kB / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.9449, allocations: 4.734 kB / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.945, allocations: 23.98 kB / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.945, allocations: 0 / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.945, allocations: 7.844 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.945, allocations: 7.938 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.945, allocations: 4 kB / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001124/0.9451, allocations: 149.6 kB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001919/0.9453, allocations: 0.5149 MB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.504e-05/0.9454, allocations: 81.11 kB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.9454, allocations: 0 / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.9455, allocations: 27.09 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.9456, allocations: 4 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.9456, allocations: 0 / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.452e-05/0.9456, allocations: 86.95 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007524/0.9464, allocations: 11.91 kB / 1.017 GB, free: 2.777 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 (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.0001371/0.9465, allocations: 103.2 kB / 1.017 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.031e-05/0.9466, allocations: 19.03 kB / 1.017 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.9466, allocations: 0 / 1.017 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.131e-05/0.9467, allocations: 11.69 kB / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.9468, allocations: 7.438 kB / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.9471, allocations: 78.94 kB / 1.017 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.9473, allocations: 0.6954 MB / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/0.9473, allocations: 0 / 1.018 GB, free: 1.828 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)