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.Sort.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.Sort,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",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.253/1.253, allocations: 249.4 MB / 256.7 MB, free: 0.7656 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.001011, allocations: 184.1 kB / 316 MB, free: 8.977 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.083/1.083, allocations: 205.1 MB / 0.5667 GB, free: 13.45 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007961/0.000796, allocations: 88.39 kB / 0.671 GB, free: 51.67 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1857/0.1865, allocations: 112.5 MB / 0.7808 GB, free: 9.848 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4835/0.67, allocations: 106.3 MB / 0.8847 GB, free: 89.11 MB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1521/0.8221, allocations: 131 MB / 1.013 GB, free: 14.66 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.8224, allocations: 71.95 kB / 1.013 GB, free: 14.59 MB / 0.659 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.01055/0.8329, allocations: 3.808 MB / 1.016 GB, free: 10.82 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.833, allocations: 8 kB / 1.016 GB, free: 10.81 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.833, allocations: 15.81 kB / 1.016 GB, free: 10.79 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.8333, allocations: 209.4 kB / 1.017 GB, free: 10.55 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.8333, allocations: 4 kB / 1.017 GB, free: 10.55 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.8333, allocations: 4 kB / 1.017 GB, free: 10.54 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001888/0.8335, allocations: 83.92 kB / 1.017 GB, free: 10.46 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.8337, allocations: 114.3 kB / 1.017 GB, free: 10.34 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.8337, allocations: 0 / 1.017 GB, free: 10.34 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.8337, allocations: 3.062 kB / 1.017 GB, free: 10.34 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.8338, allocations: 4 kB / 1.017 GB, free: 10.34 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008934/0.8347, allocations: 0.5013 MB / 1.017 GB, free: 9.805 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.8348, allocations: 85.09 kB / 1.017 GB, free: 9.715 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.255e-05/0.8349, allocations: 68.84 kB / 1.017 GB, free: 9.645 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.8349, allocations: 0 / 1.017 GB, free: 9.645 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.8349, allocations: 36.33 kB / 1.017 GB, free: 9.602 MB / 0.659 GB Notification: Performance of pre-optimization done (n=15): time 1.032e-06/0.835, allocations: 0 / 1.017 GB, free: 9.602 MB / 0.659 GB Notification: Performance of matching and sorting (n=15): time 0.000348/0.8353, allocations: 180.8 kB / 1.018 GB, free: 9.422 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.8353, allocations: 55.41 kB / 1.018 GB, free: 9.355 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.498e-05/0.8354, allocations: 121.4 kB / 1.018 GB, free: 9.23 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.8355, allocations: 25.7 kB / 1.018 GB, free: 9.199 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.8355, allocations: 104.4 kB / 1.018 GB, free: 9.09 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.8356, allocations: 43.27 kB / 1.018 GB, free: 9.047 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.8356, allocations: 0 / 1.018 GB, free: 9.047 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.8357, allocations: 326.8 kB / 1.018 GB, free: 8.719 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.082e-05/0.8358, allocations: 55.98 kB / 1.018 GB, free: 8.664 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.8359, allocations: 55.36 kB / 1.018 GB, free: 8.613 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.836, allocations: 63.91 kB / 1.018 GB, free: 8.551 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.836, allocations: 0 / 1.018 GB, free: 8.551 MB / 0.659 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002618/0.8363, allocations: 173.5 kB / 1.019 GB, free: 8.375 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.8363, allocations: 4 kB / 1.019 GB, free: 8.371 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.8363, allocations: 4 kB / 1.019 GB, free: 8.367 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.8364, allocations: 0 / 1.019 GB, free: 8.367 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.8366, allocations: 59.89 kB / 1.019 GB, free: 8.309 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.8367, allocations: 3.75 kB / 1.019 GB, free: 8.309 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.8369, allocations: 59.8 kB / 1.019 GB, free: 8.25 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.8369, allocations: 0 / 1.019 GB, free: 8.25 MB / 0.659 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.535e-05/0.837, allocations: 105 kB / 1.019 GB, free: 8.141 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.837, allocations: 11.81 kB / 1.019 GB, free: 8.129 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.8374, allocations: 203.9 kB / 1.019 GB, free: 7.926 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.8374, allocations: 0 / 1.019 GB, free: 7.926 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.8374, allocations: 0 / 1.019 GB, free: 7.926 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.8374, allocations: 0 / 1.019 GB, free: 7.926 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.8376, allocations: 218 kB / 1.019 GB, free: 7.676 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.8376, allocations: 7.938 kB / 1.019 GB, free: 7.668 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.8379, allocations: 55.95 kB / 1.019 GB, free: 7.613 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.8379, allocations: 3.906 kB / 1.019 GB, free: 7.609 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.8379, allocations: 0 / 1.019 GB, free: 7.609 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8379, allocations: 7.938 kB / 1.019 GB, free: 7.602 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8379, allocations: 0 / 1.019 GB, free: 7.602 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003026/0.8382, allocations: 271.4 kB / 1.02 GB, free: 7.32 MB / 0.659 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004368/0.8387, allocations: 0.645 MB / 1.02 GB, free: 6.66 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.8387, allocations: 88.92 kB / 1.02 GB, free: 6.555 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.8388, allocations: 0 / 1.02 GB, free: 6.555 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.839, allocations: 47.95 kB / 1.02 GB, free: 6.508 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.8391, allocations: 15.97 kB / 1.02 GB, free: 6.492 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.8391, allocations: 4 kB / 1.02 GB, free: 6.488 MB / 0.659 GB Notification: Performance of sort global known variables: time 5.826e-05/0.8392, allocations: 109.7 kB / 1.02 GB, free: 6.383 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.0008083/0.84, allocations: 51.84 kB / 1.021 GB, free: 6.332 MB / 0.659 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001947/0.8402, allocations: 115.2 kB / 1.021 GB, free: 6.211 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.8404, allocations: 195.4 kB / 1.021 GB, free: 6.008 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8404, allocations: 3.938 kB / 1.021 GB, free: 6.004 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.8406, allocations: 139.4 kB / 1.021 GB, free: 5.855 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.8408, allocations: 15.98 kB / 1.021 GB, free: 5.84 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004218/0.8412, allocations: 215.3 kB / 1.021 GB, free: 5.605 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/0.8416, allocations: 0.7404 MB / 1.022 GB, free: 4.836 MB / 0.659 GB Notification: Performance of SimCode: time 2.81e-07/0.8416, allocations: 0.8438 kB / 1.022 GB, free: 4.836 MB / 0.659 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)