Running command: "" <> buildModelFMU(BioChem.Examples.CaOscillations.Cytosol,fileNamePrefix="BioChem_BioChem_Examples_CaOscillations_Cytosol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BioChem): time 2.468/2.468, allocations: 217.9 MB / 230 MB, free: 14.39 MB / 202.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 3.621e-05/3.651e-05, allocations: 0 / 283.5 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 50.41 MB / 333.9 MB, free: 7.051 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4632/0.5818, allocations: 86.31 MB / 420.2 MB, free: 9.242 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.5821, allocations: 63.66 kB / 420.2 MB, free: 9.211 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/BioChem 1.0.2/Examples/package.mo:2608:7-2609:166:writable] Warning: Connecting two signal sources while connecting Ca_Cyt.n1.V to endoplasmicReticulum.Ca_Cyt_node.V. Notification: Performance of FrontEnd - DAE generated: time 0.0204/0.6025, allocations: 4.743 MB / 425 MB, free: 5.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6026, allocations: 4 kB / 425 MB, free: 5.176 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.6026, allocations: 4 kB / 425 MB, free: 5.172 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009669/0.6036, allocations: 465.8 kB / 425.5 MB, free: 4.688 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.6036, allocations: 8.031 kB / 425.5 MB, free: 4.68 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.861e-05/0.6037, allocations: 57.61 kB / 425.5 MB, free: 4.629 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.158e-05/0.6038, allocations: 23.72 kB / 425.5 MB, free: 4.605 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.6041, allocations: 190.8 kB / 425.7 MB, free: 4.379 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.6041, allocations: 20.08 kB / 425.7 MB, free: 4.363 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.817e-05/0.6042, allocations: 23.62 kB / 425.8 MB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.6047, allocations: 196.9 kB / 426 MB, free: 4.207 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.6048, allocations: 0 / 426 MB, free: 4.207 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.6048, allocations: 7.688 kB / 426 MB, free: 4.207 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.6048, allocations: 8 kB / 426 MB, free: 4.199 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/0.6052, allocations: 123.5 kB / 426.1 MB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.6079, allocations: 0.78 MB / 426.9 MB, free: 3.422 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.6082, allocations: 99.05 kB / 427 MB, free: 3.344 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003813/0.6086, allocations: 99.66 kB / 427.1 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.6087, allocations: 0 / 427.1 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.6087, allocations: 38.06 kB / 427.1 MB, free: 3.223 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.104e-06/0.6087, allocations: 0 / 427.1 MB, free: 3.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001957/0.6107, allocations: 0.5304 MB / 427.6 MB, free: 2.711 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.6108, allocations: 55.34 kB / 427.7 MB, free: 2.645 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.611, allocations: 139.1 kB / 427.8 MB, free: 2.512 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.6111, allocations: 28.83 kB / 427.9 MB, free: 2.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.6112, allocations: 153.7 kB / 428 MB, free: 2.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.867e-05/0.6113, allocations: 69.88 kB / 428.1 MB, free: 2.277 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/0.6113, allocations: 3.375 kB / 428.1 MB, free: 2.277 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6115, allocations: 329.7 kB / 428.4 MB, free: 1.953 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.6116, allocations: 44.48 kB / 428.4 MB, free: 1.926 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.6118, allocations: 88.7 kB / 428.5 MB, free: 1.836 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.612, allocations: 56.73 kB / 428.6 MB, free: 1.797 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.612, allocations: 0 / 428.6 MB, free: 1.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004974/0.6125, allocations: 203.1 kB / 428.8 MB, free: 1.641 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.6126, allocations: 12.19 kB / 428.8 MB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.6126, allocations: 0 / 428.8 MB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.6126, allocations: 7.938 kB / 428.8 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.6131, allocations: 47.92 kB / 428.8 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.6131, allocations: 3.938 kB / 428.9 MB, free: 1.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.6133, allocations: 18.77 kB / 428.9 MB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.6133, allocations: 7 kB / 428.9 MB, free: 1.551 MB / 346.7 MB Warning: Assuming fixed start value for the following 5 variables: p3_sbml:VARIABLE(start = 0.95 ) type: Real Ca_Cyt.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real V:VARIABLE(start = 1.0 unit = "l" stateSelect=StateSelect.prefer ) "Compartment volume" type: Real endoplasmicReticulum.V:VARIABLE(start = 1.0 unit = "l" stateSelect=StateSelect.prefer ) "Compartment volume" type: Real endoplasmicReticulum.CaER.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0002232/0.6136, allocations: 137.7 kB / 429 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.6136, allocations: 7.906 kB / 429 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.6141, allocations: 172.5 kB / 429.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.6141, allocations: 0 / 429.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.6141, allocations: 0 / 429.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.6141, allocations: 0 / 429.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.6153, allocations: 0.5123 MB / 429.7 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.6153, allocations: 4 kB / 429.7 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.6157, allocations: 35.48 kB / 429.7 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.6157, allocations: 0 / 429.7 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.6157, allocations: 4 kB / 429.7 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.6158, allocations: 4 kB / 429.7 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6158, allocations: 0 / 429.7 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006068/0.6164, allocations: 312 kB / 430.1 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.6165, allocations: 92.91 kB / 430.1 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.6165, allocations: 0 / 430.1 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.6167, allocations: 7.562 kB / 430.2 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.6168, allocations: 11.86 kB / 430.2 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.6168, allocations: 4 kB / 430.2 MB, free: 368 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001056/0.6169, allocations: 110.1 kB / 430.3 MB, free: 264 kB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6169, allocations: 0 / 430.3 MB, free: 264 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.000419/0.6173, allocations: 43.75 kB / 430.3 MB, free: 228 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (V,endoplasmicReticulum.V,endoplasmicReticulum.CaER.n,Ca_Cyt.n,p3_sbml) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0008924/0.6183, allocations: 0.8411 MB / 431.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003775/0.6187, allocations: 129.9 kB / 431.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6187, allocations: 0 / 431.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.6188, allocations: 62.44 kB / 431.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.6191, allocations: 19.67 kB / 431.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.6208, allocations: 0.5616 MB / 431.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.6212, allocations: 0.7478 MB / 432.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.6213, allocations: 17.14 kB / 432.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.6215, allocations: 64.98 kB / 432.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/0.6215, allocations: 0 / 432.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.644, allocations: 2.93 MB / 435.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002925/0.6444, allocations: 131.9 kB / 435.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/3.117, allocations: 0 / 435.8 MB, free: 10.79 MB / 362.7 MB