Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_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.245/1.245, allocations: 249.4 MB / 256.7 MB, free: 6.934 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.0009455/0.0009455, allocations: 181.2 kB / 316 MB, free: 3.52 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.16/1.16, allocations: 205.2 MB / 0.5667 GB, free: 15.66 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.0007871/0.0007871, allocations: 86.84 kB / 0.671 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3308/0.3317, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.4814, allocations: 106.3 MB / 0.8847 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4453/0.9268, allocations: 131.1 MB / 1.013 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001717/0.927, allocations: 69.77 kB / 1.013 GB, free: 7.344 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.0005524/0.9276, allocations: 352.8 kB / 1.013 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.9276, allocations: 8 kB / 1.013 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.9277, allocations: 7.844 kB / 1.013 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.9278, allocations: 171 kB / 1.013 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.9278, allocations: 0 / 1.013 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-06/0.9278, allocations: 0.9688 kB / 1.013 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.185e-05/0.9278, allocations: 3.438 kB / 1.013 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.012e-05/0.9279, allocations: 32.42 kB / 1.013 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.799e-06/0.9279, allocations: 0 / 1.013 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.9279, allocations: 3.906 kB / 1.013 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.9279, allocations: 2.734 kB / 1.013 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.9281, allocations: 356.1 kB / 1.014 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.943e-05/0.9282, allocations: 177 kB / 1.014 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.442e-05/0.9283, allocations: 80.14 kB / 1.014 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.9283, allocations: 75.28 kB / 1.014 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.9283, allocations: 105.8 kB / 1.014 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.9283, allocations: 4 kB / 1.014 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.533e-05/0.9284, allocations: 29.61 kB / 1.014 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.9284, allocations: 55.41 kB / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.881e-05/0.9285, allocations: 85 kB / 1.014 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.9285, allocations: 25.7 kB / 1.014 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.9285, allocations: 83.7 kB / 1.014 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.122e-06/0.9286, allocations: 3.938 kB / 1.014 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-07/0.9286, allocations: 0 / 1.014 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.366e-05/0.9286, allocations: 321.5 kB / 1.015 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.056e-06/0.9286, allocations: 0 / 1.015 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-06/0.9287, allocations: 4 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.297e-05/0.9287, allocations: 76.12 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.947e-05/0.9287, allocations: 75.28 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.073e-05/0.9288, allocations: 25.7 kB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/0.9288, allocations: 8 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.9288, allocations: 75.28 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-05/0.9289, allocations: 166.3 kB / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.852e-05/0.9289, allocations: 75.28 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.301e-05/0.9289, allocations: 154.5 kB / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.703e-05/0.929, allocations: 85.53 kB / 1.015 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.929, allocations: 79.22 kB / 1.015 GB, free: 4.422 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.571e-05/0.9291, allocations: 251.5 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.9291, allocations: 105 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.9292, allocations: 111.9 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.16e-05/0.9292, allocations: 183.7 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-05/0.9293, allocations: 180.2 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.112e-05/0.9293, allocations: 180.5 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.9295, allocations: 385.8 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.847e-05/0.9295, allocations: 106.3 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.9296, allocations: 104.9 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.592e-05/0.9296, allocations: 183.7 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.845e-05/0.9297, allocations: 180.3 kB / 1.017 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.416e-05/0.9297, allocations: 180.2 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.666e-05/0.9298, allocations: 180.3 kB / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001009/0.9299, allocations: 310.8 kB / 1.018 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001831/0.9301, allocations: 0.672 MB / 1.019 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.9301, allocations: 186 kB / 1.019 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.413e-05/0.9302, allocations: 177.1 kB / 1.019 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.064e-05/0.9303, allocations: 105 kB / 1.019 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.9303, allocations: 180.2 kB / 1.019 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.9304, allocations: 105 kB / 1.019 GB, free: 212 kB / 0.6355 GB Notification: Performance of sort global known variables: time 2.476e-05/0.9304, allocations: 79.28 kB / 1.019 GB, free: 132 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007772/0.9312, allocations: 4 kB / 1.019 GB, free: 128 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.0001082/0.9313, allocations: 174.5 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 2.274e-05/0.9313, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.9313, allocations: 3.938 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.9313, 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.000236/0.9316, allocations: 0.5254 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.0001371/0.9317, allocations: 127.1 kB / 1.02 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.9319, allocations: 0.684 MB / 1.021 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.9319, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)