Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.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.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",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.006331/0.006331, allocations: 183 kB / 7.461 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.09556/0.09556, allocations: 8.706 MB / 16.57 MB, free: 448 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.375/2.375, allocations: 221.4 MB / 240.5 MB, free: 8.188 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.001709/0.001709, allocations: 105.5 kB / 293.5 MB, free: 5.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2337/0.2354, allocations: 58.66 MB / 352.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5653/0.8008, allocations: 52.54 MB / 404.7 MB, free: 26.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/0.9487, allocations: 76.21 MB / 480.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003476/0.9492, allocations: 60.62 kB / 481 MB, free: 14.38 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.005204/0.9544, allocations: 1.196 MB / 482.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.166e-05/0.9546, allocations: 12 kB / 482.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.9548, allocations: 87.19 kB / 482.3 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/0.9554, allocations: 283.1 kB / 482.5 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/0.9557, allocations: 156 kB / 482.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.9559, allocations: 150.6 kB / 482.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001737/0.9561, allocations: 153.4 kB / 483 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.9562, allocations: 108.9 kB / 483.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-05/0.9563, allocations: 79.27 kB / 483.2 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/0.9565, allocations: 154.6 kB / 483.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000166/0.9567, allocations: 156.3 kB / 483.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006074/0.9574, allocations: 466.5 kB / 483.9 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.9576, allocations: 169.1 kB / 484.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/0.9577, allocations: 80.14 kB / 484.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.633e-05/0.9578, allocations: 75.28 kB / 484.3 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/0.9579, allocations: 105.8 kB / 484.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 2.044e-06/0.9579, allocations: 4 kB / 484.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001628/0.9581, allocations: 41.52 kB / 484.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.9582, allocations: 51.41 kB / 484.5 MB, free: 10.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.9585, allocations: 199 kB / 484.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.9585, allocations: 29.7 kB / 484.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.9586, allocations: 96.12 kB / 484.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/0.9586, allocations: 0 / 484.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-07/0.9586, allocations: 0 / 484.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.9588, allocations: 330.8 kB / 485.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.89e-06/0.9588, allocations: 0 / 485.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.421e-06/0.9588, allocations: 0 / 485.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.532e-05/0.9589, allocations: 79.27 kB / 485.2 MB, free: 10 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.601e-05/0.9589, allocations: 79.22 kB / 485.2 MB, free: 9.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001104/0.9591, allocations: 41.52 kB / 485.3 MB, free: 9.875 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.9591, allocations: 4 kB / 485.3 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.673e-05/0.9591, allocations: 79.22 kB / 485.4 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001176/0.9593, allocations: 154.6 kB / 485.5 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.927e-05/0.9593, allocations: 79.28 kB / 485.6 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.084e-05/0.9594, allocations: 158.5 kB / 485.8 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.9596, allocations: 83.17 kB / 485.8 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/0.9596, allocations: 75.28 kB / 485.9 MB, free: 9.25 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 (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 0.0001603/0.9598, allocations: 255.5 kB / 486.2 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.149e-05/0.9599, allocations: 121 kB / 486.3 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.088e-05/0.96, allocations: 125.5 kB / 486.4 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.924e-05/0.9601, allocations: 184.2 kB / 486.6 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-05/0.9602, allocations: 180.2 kB / 486.8 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.794e-05/0.9603, allocations: 176.3 kB / 486.9 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/0.9606, allocations: 421.8 kB / 487.3 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.749e-05/0.9607, allocations: 108.9 kB / 487.4 MB, free: 7.621 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.923e-05/0.9608, allocations: 101 kB / 487.5 MB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.9609, allocations: 177.2 kB / 487.7 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.961, allocations: 180.2 kB / 487.9 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000166/0.9612, allocations: 184.2 kB / 488.1 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001014/0.9613, allocations: 184.3 kB / 488.3 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002752/0.9616, allocations: 315.6 kB / 488.6 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005459/0.9621, allocations: 0.6879 MB / 489.2 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.9623, allocations: 193.9 kB / 489.4 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.9624, allocations: 180.2 kB / 489.6 MB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.9626, allocations: 104.9 kB / 489.7 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.9627, allocations: 184.3 kB / 489.9 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-05/0.9628, allocations: 101 kB / 490 MB, free: 4.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001836/0.963, allocations: 177.5 kB / 490.2 MB, free: 4.758 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001093/0.9641, allocations: 4 kB / 490.2 MB, free: 4.754 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 (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.0001867/0.9643, allocations: 166.5 kB / 490.3 MB, free: 4.578 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.088e-05/0.9643, allocations: 3.938 kB / 490.3 MB, free: 4.574 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.9643, allocations: 0 / 490.3 MB, free: 4.574 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.9643, allocations: 4 kB / 490.3 MB, free: 4.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.9648, allocations: 0.5224 MB / 490.9 MB, free: 4.043 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.9653, allocations: 226.6 kB / 491.1 MB, free: 3.793 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004781/0.9658, allocations: 0.727 MB / 491.8 MB, free: 3.039 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.9658, allocations: 0 / 491.8 MB, free: 3.039 MB / 362.7 MB (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)