Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Blocks.Examples.BusUsage.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_1_cpp_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.052/1.052, allocations: 111.2 MB / 124.2 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.89e-05, allocations: 0 / 154.4 MB, free: 13.11 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1914, allocations: 25.15 MB / 179.5 MB, free: 0.8125 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06272/0.2542, allocations: 33.71 MB / 213.2 MB, free: 15.42 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.2544, allocations: 59.98 kB / 213.3 MB, free: 15.36 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01095/0.2654, allocations: 2.554 MB / 215.8 MB, free: 12.8 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2654, allocations: 0 / 215.8 MB, free: 12.8 MB / 186.7 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.2654, allocations: 0 / 215.8 MB, free: 12.8 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005657/0.266, allocations: 369.1 kB / 216.2 MB, free: 12.39 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.2661, allocations: 8.031 kB / 216.2 MB, free: 12.39 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.072e-05/0.2662, allocations: 46.52 kB / 216.2 MB, free: 12.33 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.2662, allocations: 11.89 kB / 216.3 MB, free: 12.32 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.2664, allocations: 171 kB / 216.4 MB, free: 12.11 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.2664, allocations: 0 / 216.4 MB, free: 12.11 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.2664, allocations: 11.94 kB / 216.4 MB, free: 12.1 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.2667, allocations: 97.97 kB / 216.5 MB, free: 11.98 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.2667, allocations: 4 kB / 216.5 MB, free: 11.98 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.2667, allocations: 3.938 kB / 216.5 MB, free: 11.98 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.2668, allocations: 11.94 kB / 216.6 MB, free: 11.96 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.2669, allocations: 35.94 kB / 216.6 MB, free: 11.93 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008428/0.2678, allocations: 0.6419 MB / 217.2 MB, free: 11.22 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.2679, allocations: 106.5 kB / 217.3 MB, free: 11.07 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.613e-05/0.268, allocations: 36.36 kB / 217.4 MB, free: 11.02 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.2681, allocations: 7.938 kB / 217.4 MB, free: 11.02 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.2681, allocations: 38.56 kB / 217.4 MB, free: 10.97 MB / 186.7 MB Notification: Performance of pre-optimization done (n=6): time 2.565e-06/0.2681, allocations: 0 / 217.4 MB, free: 10.97 MB / 186.7 MB Notification: Performance of matching and sorting (n=6): time 0.000343/0.2685, allocations: 77.47 kB / 217.5 MB, free: 10.89 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.2686, allocations: 158.2 kB / 217.6 MB, free: 10.7 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.2688, allocations: 105 kB / 217.7 MB, free: 10.59 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.2688, allocations: 29.7 kB / 217.8 MB, free: 10.55 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.914e-05/0.2689, allocations: 170.8 kB / 217.9 MB, free: 10.38 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.269, allocations: 15.75 kB / 218 MB, free: 10.36 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.269, allocations: 0 / 218 MB, free: 10.36 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2691, allocations: 314.8 kB / 218.3 MB, free: 10.05 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.506e-05/0.2692, allocations: 8 kB / 218.3 MB, free: 10.04 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.272e-05/0.2693, allocations: 48.22 kB / 218.3 MB, free: 9.977 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.178e-05/0.2693, allocations: 16 kB / 218.3 MB, free: 9.961 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2694, allocations: 0 / 218.3 MB, free: 9.961 MB / 186.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002234/0.2696, allocations: 77.42 kB / 218.4 MB, free: 9.879 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.2696, allocations: 9.562 kB / 218.4 MB, free: 9.871 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2696, allocations: 160 / 218.4 MB, free: 9.871 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2697, allocations: 4 kB / 218.4 MB, free: 9.867 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.2698, allocations: 15.98 kB / 218.4 MB, free: 9.852 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.2699, allocations: 4 kB / 218.4 MB, free: 9.848 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.27, allocations: 15.86 kB / 218.5 MB, free: 9.832 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.27, allocations: 4 kB / 218.5 MB, free: 9.828 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (part.booleanExpression.y,booleanStep.y,integerStep.y) * 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 9.843e-05/0.2701, allocations: 113 kB / 218.6 MB, free: 9.711 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.2703, allocations: 11.89 kB / 218.6 MB, free: 9.699 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.2703, allocations: 12.02 kB / 218.6 MB, free: 9.688 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2703, allocations: 4 kB / 218.6 MB, free: 9.684 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.2703, allocations: 4.109 kB / 218.6 MB, free: 9.68 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.2704, allocations: 8 kB / 218.6 MB, free: 9.672 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.2709, allocations: 189.5 kB / 218.8 MB, free: 9.438 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2709, allocations: 0 / 218.8 MB, free: 9.438 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.271, allocations: 12 kB / 218.8 MB, free: 9.422 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.271, allocations: 7.938 kB / 218.8 MB, free: 9.414 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.2711, allocations: 4 kB / 218.8 MB, free: 9.41 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2711, allocations: 4 kB / 218.8 MB, free: 9.406 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2711, allocations: 0 / 218.8 MB, free: 9.406 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.2715, allocations: 0.5073 MB / 219.3 MB, free: 8.855 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.467e-05/0.2716, allocations: 85 kB / 219.4 MB, free: 8.754 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.2716, allocations: 8 kB / 219.4 MB, free: 8.746 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.2719, allocations: 8 kB / 219.4 MB, free: 8.738 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.272, allocations: 11.94 kB / 219.4 MB, free: 8.727 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.272, allocations: 4 kB / 219.4 MB, free: 8.723 MB / 186.7 MB Notification: Performance of sorting global known variables: time 7.07e-05/0.2721, allocations: 95.27 kB / 219.5 MB, free: 8.629 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2721, allocations: 0 / 219.5 MB, free: 8.629 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004792/0.2726, allocations: 12 kB / 219.6 MB, free: 8.617 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (part.booleanExpression.y,booleanStep.y,integerStep.y) * 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.0008247/0.2735, allocations: 1.321 MB / 220.9 MB, free: 7.254 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.2737, allocations: 40.11 kB / 220.9 MB, free: 7.215 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2737, allocations: 0 / 220.9 MB, free: 7.215 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-05/0.2738, allocations: 23.94 kB / 220.9 MB, free: 7.191 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.2741, allocations: 4 kB / 220.9 MB, free: 7.188 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008004/0.275, allocations: 192.5 kB / 221.1 MB, free: 6.938 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.2753, allocations: 0.6965 MB / 221.8 MB, free: 6.215 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.36e-05/0.2754, allocations: 23.42 kB / 221.8 MB, free: 6.195 MB / 186.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2754, allocations: 0 / 221.8 MB, free: 6.195 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.402/2.678, allocations: 1.211 MB / 223.1 MB, free: 4.98 MB / 186.7 MB