Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_VectorFunctions",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 8.0.1-maint.8.0.x/package.mo): time 1.407/1.407, allocations: 285.5 MB / 292.8 MB, free: 0.625 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009636/0.0009635, allocations: 183.6 kB / 361.1 MB, free: 15.21 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.097/1.097, allocations: 205.2 MB / 0.6195 GB, free: 5.816 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000865/0.0008653, allocations: 97.77 kB / 0.7326 GB, free: 47.33 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.2154/0.2163, allocations: 121.5 MB / 0.8512 GB, free: 12.62 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.7627, allocations: 115.3 MB / 0.9637 GB, free: 85.54 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.9222, allocations: 138 MB / 1.098 GB, free: 11.36 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.9225, allocations: 78.2 kB / 1.099 GB, free: 11.29 MB / 0.7059 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.005239/0.9278, allocations: 1.768 MB / 1.1 GB, free: 9.512 MB / 0.7059 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.9278, allocations: 12 kB / 1.1 GB, free: 9.5 MB / 0.7059 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.9279, allocations: 11.81 kB / 1.1 GB, free: 9.488 MB / 0.7059 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.9281, allocations: 198.8 kB / 1.101 GB, free: 9.254 MB / 0.7059 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.9281, allocations: 4 kB / 1.101 GB, free: 9.25 MB / 0.7059 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.9281, allocations: 4 kB / 1.101 GB, free: 9.246 MB / 0.7059 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00016/0.9283, allocations: 63.97 kB / 1.101 GB, free: 9.184 MB / 0.7059 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.9284, allocations: 89.22 kB / 1.101 GB, free: 9.094 MB / 0.7059 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.9285, allocations: 0.6875 kB / 1.101 GB, free: 9.094 MB / 0.7059 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.9285, allocations: 0 / 1.101 GB, free: 9.094 MB / 0.7059 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.9285, allocations: 4.625 kB / 1.101 GB, free: 9.09 MB / 0.7059 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.9291, allocations: 365 kB / 1.101 GB, free: 8.695 MB / 0.7059 GB Notification: Performance of preOpt comSubExp (simulation): time 8.872e-05/0.9292, allocations: 38.58 kB / 1.101 GB, free: 8.648 MB / 0.7059 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.193e-05/0.9293, allocations: 36.97 kB / 1.101 GB, free: 8.609 MB / 0.7059 GB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.9293, allocations: 0 / 1.101 GB, free: 8.609 MB / 0.7059 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.9293, allocations: 41.69 kB / 1.101 GB, free: 8.562 MB / 0.7059 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.9293, allocations: 0 / 1.101 GB, free: 8.562 MB / 0.7059 GB Notification: Performance of matching and sorting (n=6): time 0.000264/0.9296, allocations: 93.56 kB / 1.101 GB, free: 8.465 MB / 0.7059 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.9297, allocations: 55.41 kB / 1.101 GB, free: 8.398 MB / 0.7059 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.9298, allocations: 122.7 kB / 1.101 GB, free: 8.27 MB / 0.7059 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.9298, allocations: 25.7 kB / 1.101 GB, free: 8.238 MB / 0.7059 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.9298, allocations: 92.22 kB / 1.101 GB, free: 8.145 MB / 0.7059 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.9299, allocations: 19.8 kB / 1.102 GB, free: 8.125 MB / 0.7059 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.9299, allocations: 0.6562 kB / 1.102 GB, free: 8.125 MB / 0.7059 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.9301, allocations: 322.8 kB / 1.102 GB, free: 7.801 MB / 0.7059 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.97e-05/0.9301, allocations: 23.98 kB / 1.102 GB, free: 7.777 MB / 0.7059 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.566e-05/0.9302, allocations: 28 kB / 1.102 GB, free: 7.75 MB / 0.7059 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.9303, allocations: 28.53 kB / 1.102 GB, free: 7.723 MB / 0.7059 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9303, allocations: 0 / 1.102 GB, free: 7.723 MB / 0.7059 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000181/0.9305, allocations: 105.4 kB / 1.102 GB, free: 7.613 MB / 0.7059 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.9305, allocations: 5.219 kB / 1.102 GB, free: 7.609 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9305, allocations: 1.875 kB / 1.102 GB, free: 7.609 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.9306, allocations: 4 kB / 1.102 GB, free: 7.605 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.9307, allocations: 27.97 kB / 1.102 GB, free: 7.578 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.9307, allocations: 0 / 1.102 GB, free: 7.578 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.164e-05/0.9308, allocations: 11.94 kB / 1.102 GB, free: 7.566 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.9309, allocations: 7.984 kB / 1.102 GB, free: 7.559 MB / 0.7059 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 (6): * Single equations (assignments): 6 * 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.839e-05/0.9309, allocations: 107.4 kB / 1.102 GB, free: 7.449 MB / 0.7059 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.931, allocations: 15.8 kB / 1.102 GB, free: 7.434 MB / 0.7059 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.9313, allocations: 122.1 kB / 1.102 GB, free: 7.312 MB / 0.7059 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.9313, allocations: 5.25 kB / 1.102 GB, free: 7.309 MB / 0.7059 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.9313, allocations: 0 / 1.102 GB, free: 7.309 MB / 0.7059 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.9313, allocations: 0 / 1.102 GB, free: 7.309 MB / 0.7059 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.9315, allocations: 186.6 kB / 1.102 GB, free: 7.09 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.9315, allocations: 0 / 1.102 GB, free: 7.09 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.9317, allocations: 19.98 kB / 1.102 GB, free: 7.07 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.9317, allocations: 8 kB / 1.102 GB, free: 7.062 MB / 0.7059 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.9317, allocations: 4 kB / 1.102 GB, free: 7.059 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.9317, allocations: 0.875 kB / 1.103 GB, free: 7.059 MB / 0.7059 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9317, allocations: 0.5625 kB / 1.103 GB, free: 7.059 MB / 0.7059 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002426/0.932, allocations: 195.4 kB / 1.103 GB, free: 6.852 MB / 0.7059 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003372/0.9323, allocations: 0.5669 MB / 1.103 GB, free: 6.266 MB / 0.7059 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.9324, allocations: 81.02 kB / 1.103 GB, free: 6.168 MB / 0.7059 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.9324, allocations: 0 / 1.103 GB, free: 6.168 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.9325, allocations: 17.61 kB / 1.103 GB, free: 6.152 MB / 0.7059 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.9326, allocations: 4.547 kB / 1.103 GB, free: 6.148 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.9326, allocations: 4 kB / 1.103 GB, free: 6.145 MB / 0.7059 GB Notification: Performance of sort global known variables: time 6.249e-05/0.9327, allocations: 100.7 kB / 1.103 GB, free: 6.047 MB / 0.7059 GB Notification: Performance of remove unused functions: time 0.0007834/0.9335, allocations: 19.91 kB / 1.103 GB, free: 6.027 MB / 0.7059 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 (6): * Single equations (assignments): 6 * 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.0001587/0.9336, allocations: 99.25 kB / 1.104 GB, free: 5.918 MB / 0.7059 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.9338, allocations: 75.91 kB / 1.104 GB, free: 5.844 MB / 0.7059 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.9338, allocations: 0.75 kB / 1.104 GB, free: 5.844 MB / 0.7059 GB Notification: Performance of simCode: created simulation system equations: time 5.77e-05/0.9339, allocations: 39.98 kB / 1.104 GB, free: 5.805 MB / 0.7059 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.934, allocations: 4.625 kB / 1.104 GB, free: 5.801 MB / 0.7059 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.9344, allocations: 132.3 kB / 1.104 GB, free: 5.648 MB / 0.7059 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003601/0.9348, allocations: 0.7269 MB / 1.105 GB, free: 4.895 MB / 0.7059 GB Notification: Performance of SimCode: time 2.51e-07/0.9348, allocations: 0.6562 kB / 1.105 GB, free: 4.895 MB / 0.7059 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)