Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.conf.json 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/HanserModelica 2.0.0-master/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) 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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) Running command: "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices1,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices1,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1",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/Complex 4.0.0+maint.om/package.mo): time 0.007483/0.007483, allocations: 184.5 kB / 7.462 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06979/0.06979, allocations: 8.708 MB / 16.58 MB, free: 432 kB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.203/2.203, allocations: 221.4 MB / 240.5 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 93.86 kB / 293.5 MB, free: 5.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2388/0.2403, allocations: 58.67 MB / 352.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.529/0.7694, allocations: 52.53 MB / 404.7 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.166/0.9355, allocations: 76.16 MB / 480.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/0.936, allocations: 59.97 kB / 480.9 MB, free: 14.39 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.007183/0.9432, allocations: 1.194 MB / 482.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.479e-05/0.9433, allocations: 8 kB / 482.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.099e-05/0.9434, allocations: 12.41 kB / 482.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000484/0.9439, allocations: 214.9 kB / 482.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.944, allocations: 0.9688 kB / 482.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.944, allocations: 3.906 kB / 482.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001007/0.9441, allocations: 11.98 kB / 482.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.9443, allocations: 39.34 kB / 482.4 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.9443, allocations: 0 / 482.4 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.9444, allocations: 0 / 482.4 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.9444, allocations: 0 / 482.4 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.9449, allocations: 171 kB / 482.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.9451, allocations: 35.31 kB / 482.6 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.208e-05/0.9452, allocations: 18.02 kB / 482.6 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.139e-05/0.9453, allocations: 0 / 482.6 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.13e-05/0.9454, allocations: 35.22 kB / 482.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 5.35e-06/0.9454, allocations: 5.734 kB / 482.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003775/0.9458, allocations: 53.69 kB / 482.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.278e-05/0.9459, allocations: 51.41 kB / 482.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004355/0.9463, allocations: 197.6 kB / 483 MB, free: 12.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.9464, allocations: 28.48 kB / 483 MB, free: 12.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.754e-05/0.9465, allocations: 92.12 kB / 483.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.9466, allocations: 3.906 kB / 483.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.9466, allocations: 0 / 483.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002755/0.9469, allocations: 326.7 kB / 483.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-05/0.9469, allocations: 15.92 kB / 483.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.195e-05/0.947, allocations: 11.94 kB / 483.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.831e-05/0.947, allocations: 8 kB / 483.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.947, allocations: 0 / 483.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000195/0.9472, allocations: 57.58 kB / 483.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.9473, allocations: 4 kB / 483.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.9473, allocations: 0 / 483.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.9473, allocations: 3.938 kB / 483.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.9475, allocations: 7.906 kB / 483.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.9475, allocations: 7.984 kB / 483.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.304e-05/0.9476, allocations: 3.938 kB / 483.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.9477, allocations: 4 kB / 483.5 MB, free: 11.62 MB / 362.7 MB 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 (3): * Single equations (assignments): 3 * 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 0.0001408/0.9478, allocations: 105 kB / 483.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.9479, allocations: 15.8 kB / 483.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.9482, allocations: 66.64 kB / 483.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.9482, allocations: 0 / 483.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.9482, allocations: 0 / 483.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.9482, allocations: 0 / 483.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.9485, allocations: 158.2 kB / 483.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/0.9485, allocations: 11.91 kB / 483.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.279e-05/0.9486, allocations: 4 kB / 483.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.9486, allocations: 0 / 483.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.9487, allocations: 0 / 483.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.9487, allocations: 0 / 483.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.9487, allocations: 0 / 483.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00021/0.9489, allocations: 93.11 kB / 484 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005395/0.9495, allocations: 473.4 kB / 484.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.9496, allocations: 85.02 kB / 484.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.497e-05/0.9497, allocations: 7.984 kB / 484.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.285e-05/0.9498, allocations: 0 / 484.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.9499, allocations: 0 / 484.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.9499, allocations: 0 / 484.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002761/0.9502, allocations: 155.2 kB / 484.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001489/0.9517, allocations: 15.91 kB / 484.7 MB, free: 10.35 MB / 362.7 MB 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 (3): * Single equations (assignments): 3 * 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.0002384/0.9519, allocations: 107.2 kB / 484.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.9521, allocations: 19.94 kB / 484.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.9521, allocations: 0 / 484.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.592e-05/0.9522, allocations: 11.98 kB / 484.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.9524, allocations: 4 kB / 484.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006729/0.9531, allocations: 127.5 kB / 485 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008805/0.954, allocations: 0.7265 MB / 485.7 MB, free: 9.293 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.9541, allocations: 4 kB / 485.7 MB, free: 9.289 MB / 362.7 MB (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1)