Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Validation_PressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Validation_PressureIndependent",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.00477/0.00477, allocations: 185.7 kB / 7.464 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6715/0.6715, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 102.5 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.409/0.4103, allocations: 88.44 MB / 0.5529 GB, free: 88.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.5842, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.215/3.799, allocations: 1.889 GB / 2.523 GB, free: 72.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/3.8, allocations: 95.94 kB / 2.523 GB, free: 71.93 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 1.538/5.338, allocations: 0.595 GB / 3.118 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/5.338, allocations: 8 kB / 3.118 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/5.339, allocations: 297.8 kB / 3.118 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/5.341, allocations: 1.38 MB / 3.119 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/5.341, allocations: 28 kB / 3.119 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/5.341, allocations: 56 kB / 3.119 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1929/5.534, allocations: 0.8131 MB / 3.12 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/5.536, allocations: 0.8983 MB / 3.121 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/5.536, allocations: 3.875 kB / 3.121 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.14e-05/5.536, allocations: 3.281 kB / 3.121 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/5.536, allocations: 18.78 kB / 3.121 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005588/5.541, allocations: 4.731 MB / 3.126 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/5.542, allocations: 0.7548 MB / 3.127 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/5.543, allocations: 386.6 kB / 3.127 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003189/5.543, allocations: 281.4 kB / 3.127 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/5.543, allocations: 36.97 kB / 3.127 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=50): time 2.815e-06/5.543, allocations: 0 / 3.127 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=50): time 0.002594/5.546, allocations: 1.089 MB / 3.128 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/5.546, allocations: 117.4 kB / 3.128 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/5.548, allocations: 1.393 MB / 3.13 GB, free: 181 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/5.548, allocations: 25.7 kB / 3.13 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/5.548, allocations: 408.7 kB / 3.13 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/5.548, allocations: 166 kB / 3.13 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-05/5.548, allocations: 0 / 3.13 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.851e-05/5.548, allocations: 343.8 kB / 3.131 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009545/5.549, allocations: 0.8329 MB / 3.131 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/5.55, allocations: 1.184 MB / 3.133 GB, free: 180 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/5.552, allocations: 0.8921 MB / 3.133 GB, free: 180 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/5.552, allocations: 0 / 3.133 GB, free: 180 MB / 0.6823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003527/5.556, allocations: 2.131 MB / 3.136 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002654/5.556, allocations: 1.846 MB / 3.137 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/5.556, allocations: 7.719 kB / 3.137 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005332/5.556, allocations: 134 kB / 3.138 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/5.558, allocations: 225.8 kB / 3.138 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008117/5.558, allocations: 1.369 MB / 3.139 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/5.56, allocations: 213.3 kB / 3.139 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/5.56, allocations: 65.11 kB / 3.139 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.562e-06/5.56, allocations: 8.438 kB / 3.139 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002925/5.563, allocations: 1.852 MB / 3.141 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/5.563, allocations: 13.11 kB / 3.141 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/5.563, allocations: 6.875 kB / 3.141 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/5.565, allocations: 255.1 kB / 3.141 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/5.565, allocations: 10.94 kB / 3.141 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/5.566, allocations: 189.6 kB / 3.142 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/5.566, allocations: 69.95 kB / 3.142 GB, free: 176.7 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: conPID.u_m:VARIABLE() "Connector of measurement input signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 (damPreInd.idx_sorted[1],damPreInd.idx_sorted[2],damPreInd.idx_sorted[3],damPreInd.idx_sorted[4],damPreInd.idx_sorted[5],damPreInd.idx_sorted[6],damPreInd.idx_sorted[7],damPreInd.idx_sorted[8],damPreInd.idx_sorted[9],damPreInd.idx_sorted[10],damPreInd.idx_sorted[11],damPreInd.idx_sorted[12],damPreInd.idx_sorted[13],conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002571/5.567, allocations: 138.8 kB / 3.142 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/5.567, allocations: 121.6 kB / 3.142 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/5.569, allocations: 1.248 MB / 3.143 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/5.569, allocations: 10.81 kB / 3.143 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/5.569, allocations: 0 / 3.143 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/5.569, allocations: 2.672 kB / 3.143 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00388/5.573, allocations: 2.449 MB / 3.146 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/5.573, allocations: 0 / 3.146 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006156/5.574, allocations: 136 kB / 3.146 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005328/5.574, allocations: 136.8 kB / 3.146 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/5.574, allocations: 17.89 kB / 3.146 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006299/5.575, allocations: 1.35 MB / 3.147 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/5.575, allocations: 7.188 kB / 3.147 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002691/5.578, allocations: 1.873 MB / 3.149 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00352/5.581, allocations: 2.889 MB / 3.152 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005498/5.582, allocations: 369.2 kB / 3.152 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/5.582, allocations: 3.25 kB / 3.152 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/5.583, allocations: 107 kB / 3.152 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.864e-05/5.583, allocations: 38.89 kB / 3.152 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.61e-05/5.583, allocations: 47.95 kB / 3.152 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001144/5.585, allocations: 1.056 MB / 3.153 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00382/5.588, allocations: 1.267 MB / 3.155 GB, free: 173.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (conPID.I.y,conPID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002146/5.591, allocations: 1.984 MB / 3.157 GB, free: 173 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003184/5.594, allocations: 2.465 MB / 3.159 GB, free: 173 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/5.594, allocations: 3.844 kB / 3.159 GB, free: 173 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004992/5.594, allocations: 383 kB / 3.159 GB, free: 173 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/5.596, allocations: 315.3 kB / 3.16 GB, free: 173 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/5.599, allocations: 1.674 MB / 3.161 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/5.601, allocations: 1.315 MB / 3.163 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of SimCode: time 3.21e-07/5.601, allocations: 0 / 3.163 GB, free: 171.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Validation_PressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Validation_PressureIndependent.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)