Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.898/1.898, allocations: 194.9 MB / 211.1 MB, free: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005567/0.0005568, allocations: 8 kB / 264 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3144, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002986/0.3174, allocations: 1.733 MB / 310.3 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3185, allocations: 476.2 kB / 310.8 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.133e-05/0.3186, allocations: 0 / 310.8 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.983e-05/0.3187, allocations: 19.84 kB / 310.8 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.3189, allocations: 51.81 kB / 310.8 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.3191, allocations: 23.98 kB / 310.8 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.3193, allocations: 111.8 kB / 311 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.3195, allocations: 45.45 kB / 311 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.3196, allocations: 51.78 kB / 311.1 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.3198, allocations: 55.77 kB / 311.1 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.3198, allocations: 8 kB / 311.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.236e-05/0.3199, allocations: 11.98 kB / 311.1 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.094e-05/0.3199, allocations: 19.92 kB / 311.1 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.77e-05/0.32, allocations: 53.64 kB / 311.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.3202, allocations: 112.7 kB / 311.3 MB, free: 9.984 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.3202, allocations: 0 / 311.3 MB, free: 9.984 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3203, allocations: 0 / 311.3 MB, free: 9.984 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.3203, allocations: 0 / 311.3 MB, free: 9.984 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007206/0.321, allocations: 431 kB / 311.7 MB, free: 9.516 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.3211, allocations: 8.031 kB / 311.7 MB, free: 9.508 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.188e-05/0.3211, allocations: 42.56 kB / 311.8 MB, free: 9.457 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.3212, allocations: 15.81 kB / 311.8 MB, free: 9.441 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.3215, allocations: 214.7 kB / 312 MB, free: 9.191 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.3216, allocations: 4.234 kB / 312 MB, free: 9.188 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.3216, allocations: 16 kB / 312 MB, free: 9.172 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.322, allocations: 127.4 kB / 312.1 MB, free: 9.043 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.322, allocations: 0 / 312.1 MB, free: 9.043 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.322, allocations: 4 kB / 312.2 MB, free: 9.039 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.3221, allocations: 4 kB / 312.2 MB, free: 9.035 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/0.3224, allocations: 80.66 kB / 312.2 MB, free: 8.957 MB / 250.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.3235, allocations: 0.5838 MB / 312.8 MB, free: 8.301 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.324, allocations: 90.56 kB / 312.9 MB, free: 8.203 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.324, allocations: 0 / 312.9 MB, free: 8.203 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.324, allocations: 34.69 kB / 312.9 MB, free: 8.16 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.3241, allocations: 0 / 312.9 MB, free: 8.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.001073/0.3251, allocations: 263.4 kB / 313.2 MB, free: 7.875 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.3252, allocations: 51.41 kB / 313.2 MB, free: 7.812 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.3254, allocations: 145.7 kB / 313.4 MB, free: 7.66 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3254, allocations: 33.7 kB / 313.4 MB, free: 7.621 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.671e-05/0.3255, allocations: 123.9 kB / 313.5 MB, free: 7.496 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.3256, allocations: 19.8 kB / 313.6 MB, free: 7.477 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.3256, allocations: 0 / 313.6 MB, free: 7.477 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3257, allocations: 318.8 kB / 313.9 MB, free: 7.156 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.3259, allocations: 23.98 kB / 313.9 MB, free: 7.133 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.326, allocations: 54.44 kB / 314 MB, free: 7.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.3261, allocations: 27.98 kB / 314 MB, free: 7.043 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3262, allocations: 0 / 314 MB, free: 7.043 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004596/0.3266, allocations: 138.3 kB / 314.1 MB, free: 6.898 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3267, allocations: 4 kB / 314.1 MB, free: 6.895 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3267, allocations: 0 / 314.1 MB, free: 6.895 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/0.3269, allocations: 40.83 kB / 314.2 MB, free: 6.852 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.38e-05/0.3271, allocations: 11.94 kB / 314.2 MB, free: 6.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.3291, allocations: 1.54 MB / 315.7 MB, free: 5.172 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.3293, allocations: 8 kB / 315.7 MB, free: 5.164 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.3293, allocations: 11.94 kB / 315.7 MB, free: 5.152 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.3295, allocations: 117.8 kB / 315.8 MB, free: 5.027 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.3295, allocations: 11.89 kB / 315.9 MB, free: 5.016 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.3296, allocations: 12.91 kB / 315.9 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3296, allocations: 3.953 kB / 315.9 MB, free: 4.996 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.3296, allocations: 3.984 kB / 315.9 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3296, allocations: 0 / 315.9 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.3299, allocations: 213.6 kB / 316.1 MB, free: 4.734 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3299, allocations: 4 kB / 316.1 MB, free: 4.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.365e-05/0.33, allocations: 7.984 kB / 316.1 MB, free: 4.723 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001986/0.3302, allocations: 36.78 kB / 316.1 MB, free: 4.684 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3302, allocations: 0 / 316.1 MB, free: 4.684 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.332, allocations: 1.518 MB / 317.7 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3321, allocations: 0 / 317.7 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004881/0.3326, allocations: 224.2 kB / 317.9 MB, free: 2.797 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.677e-05/0.3326, allocations: 88.95 kB / 318 MB, free: 2.691 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.3327, allocations: 0 / 318 MB, free: 2.691 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.3328, allocations: 4 kB / 318 MB, free: 2.688 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.3329, allocations: 11.98 kB / 318 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.3329, allocations: 4 kB / 318 MB, free: 2.672 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.333, allocations: 117.1 kB / 318.1 MB, free: 2.559 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3331, allocations: 0 / 318.1 MB, free: 2.559 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004791/0.3335, allocations: 43.84 kB / 318.1 MB, free: 2.516 MB / 250.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007721/0.3343, allocations: 0.7522 MB / 318.9 MB, free: 1.734 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005284/0.3349, allocations: 190.6 kB / 319.1 MB, free: 1.535 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.3349, allocations: 4 kB / 319.1 MB, free: 1.531 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003173/0.3352, allocations: 158.8 kB / 319.2 MB, free: 1.363 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.3355, allocations: 11.98 kB / 319.2 MB, free: 1.352 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.3372, allocations: 0.7815 MB / 320 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.3376, allocations: 0.7118 MB / 320.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.572e-05/0.3377, allocations: 8.422 kB / 320.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.222e-05/0.3378, allocations: 31.44 kB / 320.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.3378, allocations: 0 / 320.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.3613, allocations: 2.622 MB / 323.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003156/0.3617, allocations: 215.1 kB / 323.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/2.808, allocations: 0 / 323.6 MB, free: 12.9 MB / 266.7 MB "" Variables in the reference:time,heatingResistor.i,heatingResistor.LossPower Variables in the result:G.p.i,G.p.v,SineVoltage1.V,SineVoltage1.freqHz,SineVoltage1.i,SineVoltage1.n.i,SineVoltage1.n.v,SineVoltage1.offset,SineVoltage1.p.i,SineVoltage1.p.v,SineVoltage1.phase,SineVoltage1.signalSource.amplitude,SineVoltage1.signalSource.freqHz,SineVoltage1.signalSource.offset,SineVoltage1.signalSource.phase,SineVoltage1.signalSource.startTime,SineVoltage1.signalSource.y,SineVoltage1.startTime,SineVoltage1.v,fixedTemperature.T,fixedTemperature.port.Q_flow,fixedTemperature.port.T,heatingResistor.LossPower,heatingResistor.R,heatingResistor.R_ref,heatingResistor.T,heatingResistor.T_heatPort,heatingResistor.T_ref,heatingResistor.alpha,heatingResistor.heatPort.Q_flow,heatingResistor.heatPort.T,heatingResistor.i,heatingResistor.n.i,heatingResistor.n.v,heatingResistor.p.i,heatingResistor.p.v,heatingResistor.useHeatPort,heatingResistor.v,thermalConductor.G,thermalConductor.Q_flow,thermalConductor.dT,thermalConductor.port_a.Q_flow,thermalConductor.port_a.T,thermalConductor.port_b.Q_flow,thermalConductor.port_b.T,time