Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.6944/0.6944, allocations: 141.8 MB / 149.1 MB, free: 1.078 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001144, allocations: 181.3 kB / 182 MB, free: 13.22 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 221.3 MB / 436 MB, free: 5.973 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009076/0.0009076, allocations: 81.17 kB / 0.507 GB, free: 18.98 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001736, allocations: 285.3 kB / 0.5885 GB, free: 7.105 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3559/0.3577, allocations: 89.64 MB / 0.676 GB, free: 140 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.4987, allocations: 82.78 MB / 0.7568 GB, free: 89.27 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.6117, allocations: 108.6 MB / 0.8629 GB, free: 12.52 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.6119, allocations: 82.75 kB / 0.863 GB, free: 12.45 MB / 0.5419 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.005608/0.6176, allocations: 1.812 MB / 0.8647 GB, free: 10.58 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.6176, allocations: 8 kB / 0.8647 GB, free: 10.57 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.6177, allocations: 15.75 kB / 0.8648 GB, free: 10.56 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.6179, allocations: 198.9 kB / 0.8649 GB, free: 10.32 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.6179, allocations: 3.938 kB / 0.8649 GB, free: 10.32 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.6179, allocations: 7.984 kB / 0.865 GB, free: 10.31 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001592/0.6181, allocations: 63.97 kB / 0.865 GB, free: 10.25 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.6182, allocations: 85.66 kB / 0.8651 GB, free: 10.16 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.6183, allocations: 0 / 0.8651 GB, free: 10.16 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.6183, allocations: 0 / 0.8651 GB, free: 10.16 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.6183, allocations: 3.906 kB / 0.8651 GB, free: 10.15 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.6189, allocations: 369 kB / 0.8655 GB, free: 9.754 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.2e-05/0.619, allocations: 38.58 kB / 0.8655 GB, free: 9.707 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.619, allocations: 32.97 kB / 0.8655 GB, free: 9.672 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.759e-05/0.6191, allocations: 8 kB / 0.8655 GB, free: 9.664 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.6191, allocations: 34.56 kB / 0.8656 GB, free: 9.621 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.6191, allocations: 0 / 0.8656 GB, free: 9.621 MB / 0.5419 GB Notification: Performance of matching and sorting (n=6): time 0.0002833/0.6194, allocations: 97.5 kB / 0.8657 GB, free: 9.52 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.6195, allocations: 55.41 kB / 0.8657 GB, free: 9.453 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.6196, allocations: 114.6 kB / 0.8658 GB, free: 9.332 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.6196, allocations: 25.7 kB / 0.8658 GB, free: 9.301 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.6197, allocations: 96.22 kB / 0.8659 GB, free: 9.203 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.6197, allocations: 27.8 kB / 0.866 GB, free: 9.176 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.6197, allocations: 0 / 0.866 GB, free: 9.176 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.6198, allocations: 318.8 kB / 0.8663 GB, free: 8.855 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.764e-05/0.6199, allocations: 27.98 kB / 0.8663 GB, free: 8.828 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.092e-05/0.6199, allocations: 20 kB / 0.8663 GB, free: 8.809 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.895e-05/0.62, allocations: 27.98 kB / 0.8663 GB, free: 8.781 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.62, allocations: 0 / 0.8663 GB, free: 8.781 MB / 0.5419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001826/0.6202, allocations: 97.56 kB / 0.8664 GB, free: 8.68 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.6203, allocations: 8 kB / 0.8664 GB, free: 8.672 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6203, allocations: 3.938 kB / 0.8664 GB, free: 8.668 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.6203, allocations: 7.906 kB / 0.8664 GB, free: 8.66 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.6205, allocations: 23.97 kB / 0.8665 GB, free: 8.637 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.6205, allocations: 0 / 0.8665 GB, free: 8.637 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.6206, allocations: 12.25 kB / 0.8665 GB, free: 8.625 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.6206, allocations: 7.984 kB / 0.8665 GB, free: 8.617 MB / 0.5419 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.573e-05/0.6207, allocations: 105 kB / 0.8666 GB, free: 8.508 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.6207, allocations: 11.91 kB / 0.8666 GB, free: 8.496 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.621, allocations: 118 kB / 0.8667 GB, free: 8.371 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.162e-05/0.621, allocations: 0 / 0.8667 GB, free: 8.371 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6211, allocations: 3.938 kB / 0.8667 GB, free: 8.367 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6211, allocations: 0 / 0.8667 GB, free: 8.367 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.6213, allocations: 174.2 kB / 0.8669 GB, free: 8.16 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6213, allocations: 11.92 kB / 0.8669 GB, free: 8.148 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.6214, allocations: 23.98 kB / 0.8669 GB, free: 8.125 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.6214, allocations: 3.906 kB / 0.8669 GB, free: 8.121 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.6214, allocations: 3.938 kB / 0.8669 GB, free: 8.117 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.6214, allocations: 0 / 0.8669 GB, free: 8.117 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6214, allocations: 0 / 0.8669 GB, free: 8.117 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002257/0.6217, allocations: 199.4 kB / 0.8671 GB, free: 7.906 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003142/0.622, allocations: 0.5661 MB / 0.8677 GB, free: 7.32 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.622, allocations: 88.95 kB / 0.8678 GB, free: 7.215 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.6221, allocations: 0 / 0.8678 GB, free: 7.215 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.6222, allocations: 15.98 kB / 0.8678 GB, free: 7.199 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.6223, allocations: 7.984 kB / 0.8678 GB, free: 7.191 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.6223, allocations: 0 / 0.8678 GB, free: 7.191 MB / 0.5419 GB Notification: Performance of sort global known variables: time 5.425e-05/0.6223, allocations: 102.2 kB / 0.8679 GB, free: 7.094 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007956/0.6231, allocations: 19.91 kB / 0.8679 GB, free: 7.074 MB / 0.5419 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.0001499/0.6233, allocations: 99.25 kB / 0.868 GB, free: 6.969 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001523/0.6235, allocations: 80.09 kB / 0.8681 GB, free: 6.891 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.6235, allocations: 0 / 0.8681 GB, free: 6.891 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 8.084e-05/0.6235, allocations: 40.11 kB / 0.8681 GB, free: 6.852 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.6237, allocations: 4 kB / 0.8681 GB, free: 6.848 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.6241, allocations: 131.6 kB / 0.8682 GB, free: 6.695 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.6244, allocations: 0.7192 MB / 0.8689 GB, free: 5.949 MB / 0.5419 GB Notification: Performance of SimCode: time 2.6e-07/0.6244, allocations: 0 / 0.8689 GB, free: 5.949 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)