Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_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.218/1.218, allocations: 249.4 MB / 256.7 MB, free: 6.953 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.001022/0.001022, allocations: 184.5 kB / 316 MB, free: 3.531 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.135/1.135, 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.0008254/0.0008252, allocations: 98.31 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3257/0.3266, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.4939, allocations: 106.3 MB / 0.8847 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.447/0.941, allocations: 131.1 MB / 1.013 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001826/0.9412, allocations: 69.64 kB / 1.013 GB, free: 7.348 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.000604/0.9418, allocations: 357.7 kB / 1.013 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.9419, allocations: 8.656 kB / 1.013 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.9419, allocations: 7.891 kB / 1.013 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.917e-05/0.942, allocations: 163 kB / 1.013 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.942, allocations: 0 / 1.013 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.942, allocations: 0.8125 kB / 1.013 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.935e-05/0.9421, allocations: 4 kB / 1.013 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.478e-05/0.9421, allocations: 33.05 kB / 1.013 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.9421, allocations: 3.938 kB / 1.013 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.9422, allocations: 7.891 kB / 1.013 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.9422, allocations: 0 / 1.013 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.9424, allocations: 356.1 kB / 1.014 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.395e-05/0.9425, allocations: 172.3 kB / 1.014 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/0.9425, allocations: 80.14 kB / 1.014 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.9425, allocations: 75.28 kB / 1.014 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.9426, allocations: 113.8 kB / 1.014 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.9426, allocations: 0 / 1.014 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.776e-05/0.9426, allocations: 29.61 kB / 1.014 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.9427, allocations: 55.41 kB / 1.014 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.968e-05/0.9427, allocations: 92.42 kB / 1.014 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.9427, allocations: 25.7 kB / 1.014 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.9428, allocations: 84.14 kB / 1.014 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.242e-06/0.9428, allocations: 2.734 kB / 1.014 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.9428, allocations: 0 / 1.014 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.9429, allocations: 313.4 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-06/0.9429, allocations: 0 / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-06/0.9429, allocations: 4.125 kB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.005e-05/0.9429, allocations: 75.28 kB / 1.015 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.715e-05/0.9429, allocations: 75.28 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.409e-05/0.943, allocations: 33.64 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.943, allocations: 4 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.943, allocations: 75.28 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.761e-05/0.9431, allocations: 162.5 kB / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.059e-05/0.9431, allocations: 86.59 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.016e-05/0.9432, allocations: 150.6 kB / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.403e-05/0.9432, allocations: 75.28 kB / 1.015 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.9433, allocations: 79.22 kB / 1.015 GB, free: 4.418 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 8.515e-05/0.9434, allocations: 255.5 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.9434, allocations: 101 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.9435, allocations: 112 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.258e-05/0.9435, allocations: 180.2 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-05/0.9436, allocations: 186.9 kB / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.627e-05/0.9436, allocations: 176.6 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.9438, allocations: 385.7 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.958e-05/0.9438, allocations: 106.3 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.658e-05/0.9439, allocations: 108.6 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.875e-05/0.9439, allocations: 180.2 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.944, allocations: 180.2 kB / 1.017 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.266e-05/0.944, allocations: 180.2 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.675e-05/0.9441, allocations: 184.2 kB / 1.018 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.804e-05/0.9442, allocations: 307.5 kB / 1.018 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000189/0.9444, allocations: 0.6678 MB / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.9444, allocations: 190.1 kB / 1.019 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/0.9445, allocations: 184.1 kB / 1.019 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-05/0.9446, allocations: 105 kB / 1.019 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.9446, allocations: 176.3 kB / 1.019 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.9446, allocations: 108.9 kB / 1.019 GB, free: 204 kB / 0.6355 GB Notification: Performance of sort global known variables: time 2.521e-05/0.9447, allocations: 78.28 kB / 1.019 GB, free: 128 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007834/0.9455, allocations: 4.094 kB / 1.019 GB, free: 124 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.000152/0.9456, allocations: 170.5 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 3.158e-05/0.9457, allocations: 4 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.9457, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.9457, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.9459, allocations: 0.5275 MB / 1.02 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000167/0.9461, allocations: 130.5 kB / 1.02 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.9463, allocations: 0.6802 MB / 1.021 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of SimCode: time 3.1e-07/0.9464, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)