Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.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.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",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.231/1.231, allocations: 249.4 MB / 256.7 MB, free: 6.945 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.001031/0.001031, allocations: 185.2 kB / 316 MB, free: 3.477 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.126/1.126, allocations: 205.1 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.0008089/0.000809, allocations: 87.27 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3182/0.3191, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.4931, allocations: 106.3 MB / 0.8847 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4512/0.9444, allocations: 131.1 MB / 1.013 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.9446, allocations: 68.02 kB / 1.013 GB, free: 7.242 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005904/0.9452, allocations: 363.9 kB / 1.013 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.9453, allocations: 8 kB / 1.013 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.9453, allocations: 5.719 kB / 1.013 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.9454, allocations: 162.4 kB / 1.013 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.9454, allocations: 0 / 1.013 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.9454, allocations: 7.578 kB / 1.013 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.389e-05/0.9455, allocations: 7.938 kB / 1.013 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.155e-05/0.9455, allocations: 25.7 kB / 1.013 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.9455, allocations: 0 / 1.013 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.9455, allocations: 3.906 kB / 1.013 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.9456, allocations: 0 / 1.013 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.9458, allocations: 363 kB / 1.014 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.704e-05/0.9458, allocations: 165.1 kB / 1.014 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.9459, allocations: 80.14 kB / 1.014 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.9459, allocations: 85.88 kB / 1.014 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.9459, allocations: 105.8 kB / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.9459, allocations: 5.031 kB / 1.014 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.247e-05/0.946, allocations: 29.61 kB / 1.014 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/0.946, allocations: 51.41 kB / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.596e-05/0.9461, allocations: 85 kB / 1.014 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.9461, allocations: 32.22 kB / 1.014 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.712e-05/0.9462, allocations: 83.39 kB / 1.014 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.9462, allocations: 0 / 1.014 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/0.9462, allocations: 0 / 1.014 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.704e-05/0.9463, allocations: 321.5 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-06/0.9463, allocations: 0 / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-06/0.9463, allocations: 0 / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.892e-05/0.9463, allocations: 79.22 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-05/0.9463, allocations: 79.22 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.987e-05/0.9464, allocations: 29.7 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.505e-06/0.9464, allocations: 4 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/0.9464, allocations: 75.28 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.574e-05/0.9465, allocations: 162.5 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.924e-05/0.9465, allocations: 79.22 kB / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.06e-05/0.9465, allocations: 150.6 kB / 1.015 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.243e-05/0.9466, allocations: 86.08 kB / 1.015 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.9466, allocations: 79.22 kB / 1.015 GB, free: 4.316 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 (0): * Single equations (assignments): 0 * 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 7.404e-05/0.9467, allocations: 255.5 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.9468, allocations: 105 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.043e-05/0.9468, allocations: 104 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.557e-05/0.9469, allocations: 180.2 kB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.787e-05/0.9469, allocations: 191.8 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-05/0.947, allocations: 176.6 kB / 1.016 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.9471, allocations: 389.7 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.382e-05/0.9472, allocations: 106.3 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.732e-05/0.9472, allocations: 105 kB / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.835e-05/0.9472, allocations: 180.2 kB / 1.017 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/0.9473, allocations: 176.3 kB / 1.017 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-05/0.9473, allocations: 184.1 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.661e-05/0.9474, allocations: 184.3 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001084/0.9475, allocations: 303.7 kB / 1.018 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000208/0.9477, allocations: 0.6684 MB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.9478, allocations: 190.1 kB / 1.019 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.9479, allocations: 180.2 kB / 1.019 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/0.9479, allocations: 103.9 kB / 1.019 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.948, allocations: 180.2 kB / 1.019 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.948, allocations: 109 kB / 1.019 GB, free: 104 kB / 0.6355 GB Notification: Performance of sort global known variables: time 2.611e-05/0.9481, allocations: 79.28 kB / 1.019 GB, free: 24 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008409/0.9489, allocations: 0 / 1.019 GB, free: 24 kB / 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 (0): * Single equations (assignments): 0 * 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.0001728/0.9491, allocations: 174.5 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 3.393e-05/0.9491, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.9491, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.9491, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.9495, allocations: 0.529 MB / 1.02 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001871/0.9497, allocations: 123.2 kB / 1.02 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.9499, allocations: 0.6802 MB / 1.021 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/0.9499, allocations: 3.938 kB / 1.021 GB, free: 14.45 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)